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

java.lang.Object
  extended by org.pm4j.core.pm.impl.PmObjectBase.MetaData
      extended by org.pm4j.core.pm.impl.PmAttrBase.MetaData
          extended by org.pm4j.core.pm.impl.PmAttrPmListImpl.MetaData
Enclosing class:
PmAttrPmListImpl<T_ITEM_PM extends PmBean<T_BEAN>,T_BEAN>

protected static class PmAttrPmListImpl.MetaData
extends PmAttrBase.MetaData


Field Summary
 
Fields inherited from class org.pm4j.core.pm.impl.PmObjectBase.MetaData
NAME_PATH_DELIMITER, validationChangeEventMask
 
Constructor Summary
protected PmAttrPmListImpl.MetaData()
           
 
Method Summary
 PmAttr.Converter<?> getItemConverter()
           
protected  int getMaxLenDefault()
          Provides the attribute type specific default max length.
 void setItemConverter(PmAttr.Converter<?> itemConverter)
          Multi value attributes (like lists) have specific item converters.
 
Methods inherited from class org.pm4j.core.pm.impl.PmAttrBase.MetaData
getCacheStrategyForOptions, getCacheStrategyForValue, getConverter, getFormatResKey, getMaxLen, getMinLen, getNullOption, getOptionSetDef, isRequired, setConverter, setConverterDefault, setFormatResKey, setRequired
 
Methods inherited from class org.pm4j.core.pm.impl.PmObjectBase.MetaData
getName, getPmElementFactory, getPmTitleProvider, init, isReadOnly, setPmElementFactory, setPmTitleProvider, setReadOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmAttrPmListImpl.MetaData

protected PmAttrPmListImpl.MetaData()
Method Detail

getItemConverter

public PmAttr.Converter<?> getItemConverter()
Overrides:
getItemConverter in class PmAttrBase.MetaData
See Also:
PmAttrBase.MetaData.setItemConverter(org.pm4j.core.pm.PmAttr.Converter)

setItemConverter

public void setItemConverter(PmAttr.Converter<?> itemConverter)
Description copied from class: PmAttrBase.MetaData
Multi value attributes (like lists) have specific item converters.

For single value attributes there is no difference between PmAttrBase.MetaData.converter and the itemConverter.

Overrides:
setItemConverter in class PmAttrBase.MetaData
Parameters:
itemConverter - The converter for attribute items.

getMaxLenDefault

protected int getMaxLenDefault()
Description copied from class: PmAttrBase.MetaData
Provides the attribute type specific default max length.

Specified by:
getMaxLenDefault in class PmAttrBase.MetaData
Returns:
The maximal number of characters default.