org.pm4j.core.pm.impl
Class PmObjectBase.MetaData

java.lang.Object
  extended by org.pm4j.core.pm.impl.PmObjectBase.MetaData
Direct Known Subclasses:
PmAttrBase.MetaData, PmBeanBase.MetaData, PmCommandImpl.MetaData, PmTableColImpl.MetaData, PmTableImpl.MetaData
Enclosing class:
PmObjectBase

protected static class PmObjectBase.MetaData
extends java.lang.Object

Shared PM meta data for all attributes of the same kind. E.g. for all 'myapp.User.name' attributes.


Field Summary
protected static char NAME_PATH_DELIMITER
           
 int validationChangeEventMask
          The event mask to be fired on validation state changes.
Is configurable to support information about changing style classes, tooltips etc.
This allows to fire only a single event with an event mask that informs all relevant listeners.
 
Constructor Summary
PmObjectBase.MetaData()
           
 
Method Summary
 java.lang.String getName()
           
 org.pm4j.core.pm.impl.BeanPmFactory getPmElementFactory()
           
 PmTitleProvider getPmTitleProvider()
           
protected  void init(PmDefaults pmDefaults)
          Initializes the some attributes based on PM-default settings.
 boolean isReadOnly()
           
 void setPmElementFactory(org.pm4j.core.pm.impl.BeanPmFactory pmElementFactory)
           
 void setPmTitleProvider(PmTitleProvider pmTitleProvider)
           
 void setReadOnly(boolean readOnly)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME_PATH_DELIMITER

protected static final char NAME_PATH_DELIMITER
See Also:
Constant Field Values

validationChangeEventMask

public int validationChangeEventMask
The event mask to be fired on validation state changes.
Is configurable to support information about changing style classes, tooltips etc.
This allows to fire only a single event with an event mask that informs all relevant listeners.

Constructor Detail

PmObjectBase.MetaData

public PmObjectBase.MetaData()
Method Detail

init

protected void init(PmDefaults pmDefaults)
Initializes the some attributes based on PM-default settings.


getName

public java.lang.String getName()

getPmTitleProvider

public PmTitleProvider getPmTitleProvider()

setPmTitleProvider

public void setPmTitleProvider(PmTitleProvider pmTitleProvider)

getPmElementFactory

public org.pm4j.core.pm.impl.BeanPmFactory getPmElementFactory()

setPmElementFactory

public void setPmElementFactory(org.pm4j.core.pm.impl.BeanPmFactory pmElementFactory)

isReadOnly

public boolean isReadOnly()

setReadOnly

public void setReadOnly(boolean readOnly)