org.pm4j.core.pm
Interface PmBean<T_BEAN>

Type Parameters:
T_BEAN - The type of the supported data bean.
All Superinterfaces:
java.lang.Comparable<PmObject>, PmDataInput, PmElement, PmObject, PmTreeNode
All Known Implementing Classes:
PmBeanBase, PmBeanBase.Nested, PmPagerImpl, PmPagerImpl.SelectableItemPm

public interface PmBean<T_BEAN>
extends PmElement

Presentation model for data beans.


Field Summary
 
Fields inherited from interface org.pm4j.core.pm.PmObject
STYLE_CLASS_DISABLED, STYLE_CLASS_ERROR, STYLE_CLASS_INFO, STYLE_CLASS_REQUIRED, STYLE_CLASS_WARN
 
Method Summary
 T_BEAN getPmBean()
           
 java.lang.Class<?> getPmBeanClass()
           
 
Methods inherited from interface org.pm4j.core.pm.PmElement
getPmAttribute, getPmAttributes, getPmKey
 
Methods inherited from interface org.pm4j.core.pm.PmDataInput
commitBufferedPmChanges, isBufferedPmValueMode, isPmValueChanged, pmValidate, resetPmValues, rollbackBufferedPmChanges
 
Methods inherited from interface org.pm4j.core.pm.PmTreeNode
getNodeDetailsPm, getPmChildNodes, isPmTreeLeaf
 
Methods inherited from interface org.pm4j.core.pm.PmObject
accept, canSetPmTitle, compareTo, getPmConversation, getPmIconPath, getPmName, getPmParent, getPmProperty, getPmRelativeName, getPmShortTitle, getPmStyleClasses, getPmTitle, getPmTooltip, isPmEnabled, isPmReadonly, isPmValid, isPmVisible, setPmEnabled, setPmParent, setPmProperty, setPmTitle, setPmVisible
 

Method Detail

getPmBean

T_BEAN getPmBean()
Returns:
The data bean behind this presentation model element.
May provide null if the backing bean is null and:

getPmBeanClass

java.lang.Class<?> getPmBeanClass()
Returns:
The class of the bean behind this PM.