org.pm4j.core.pm.annotation
Annotation Type PmAttrPmListCfg


@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD})
public @interface PmAttrPmListCfg

PM list attribute constraints.

Author:
olaf boede

Optional Element Summary
 java.lang.Class<?> itemConverter
          You may specify here an specific converter that translates between PMs and string-IDs, used for option lists.
 boolean provideInvisibleItems
          Defines if the list attribute should provide invisible PM items.
 

itemConverter

public abstract java.lang.Class<?> itemConverter
You may specify here an specific converter that translates between PMs and string-IDs, used for option lists.

If no converter is specified, by default a PmConverterOptionBased will be used that uses the method PmElement.getPmKey() to identify the option id.

Returns:
The converter class for items of the list value.
Default:
java.lang.Void.class

provideInvisibleItems

public abstract boolean provideInvisibleItems
Defines if the list attribute should provide invisible PM items.

The default setting is false. - The list provides only visible PM items.

Returns:
true to provide a mixed list of visible and invisible items.
Default:
false