Package org.cyclos.model.system.fields
Class CustomFieldVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.ConfigurationEntityVO
-
- org.cyclos.model.system.fields.CustomFieldVO
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,IInternalNamedEntity,INamedEntity,HasValueMatch,ICustomField,ProfileField
- Direct Known Subclasses:
CustomFieldDetailedVO,RecordCustomFieldVO,TransactionCustomFieldDetailedVO
public class CustomFieldVO extends ConfigurationEntityVO implements ICustomField, ProfileField
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<CustomFieldControl,CustomFieldVO>CONTROLstatic BasicProperty<Integer,CustomFieldVO>DECIMAL_DIGITSstatic BasicProperty<RecordTypeVO,CustomFieldVO>LINKED_ENTITY_RECORD_TYPEstatic BasicProperty<LinkedEntityType,CustomFieldVO>LINKED_ENTITY_TYPEstatic BasicProperty<CustomFieldNature,CustomFieldVO>NATUREstatic BasicProperty<CustomFieldType,CustomFieldVO>TYPEstatic BasicProperty<ValueMatch,CustomFieldVO>VALUE_MATCH-
Fields inherited from class org.cyclos.model.ConfigurationEntityVO
GLOBAL, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
Fields inherited from interface org.cyclos.model.users.users.ProfileField
PROPERTY_NAME
-
-
Constructor Summary
Constructors Constructor Description CustomFieldVO()CustomFieldVO(Long id)CustomFieldVO(Property<T,? super CustomFieldVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()CustomFieldControlgetControl()IntegergetDecimalDigits()RecordTypeVOgetLinkedEntityRecordType()LinkedEntityTypegetLinkedEntityType()CustomFieldNaturegetNature()CustomFieldTypegetType()ValueMatchgetValueMatch()Returns the value match, or null if this field is not searchablevoidsetControl(CustomFieldControl control)voidsetDecimalDigits(Integer decimalDigits)voidsetLinkedEntityRecordType(RecordTypeVO linkedEntityRecordType)voidsetLinkedEntityType(LinkedEntityType linkedEntityType)voidsetNature(CustomFieldNature nature)voidsetType(CustomFieldType type)voidsetValueMatch(ValueMatch valueMatch)-
Methods inherited from class org.cyclos.model.ConfigurationEntityVO
getInternalName, isGlobal, setGlobal, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityVO
equals, getId, getIds, getUniqueIds
-
Methods inherited from class org.cyclos.model.EntityModel
getId, hashCode, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, changes, clearAttributes, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, set, set, setAttribute, setWithPropagationId
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
getInternalName, matches, setInternalName
-
Methods inherited from interface org.cyclos.model.INamedEntity
getName, setName
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CONTROL
public static final BasicProperty<CustomFieldControl,CustomFieldVO> CONTROL
-
DECIMAL_DIGITS
public static final BasicProperty<Integer,CustomFieldVO> DECIMAL_DIGITS
-
LINKED_ENTITY_RECORD_TYPE
public static final BasicProperty<RecordTypeVO,CustomFieldVO> LINKED_ENTITY_RECORD_TYPE
-
LINKED_ENTITY_TYPE
public static final BasicProperty<LinkedEntityType,CustomFieldVO> LINKED_ENTITY_TYPE
-
NATURE
public static final BasicProperty<CustomFieldNature,CustomFieldVO> NATURE
-
TYPE
public static final BasicProperty<CustomFieldType,CustomFieldVO> TYPE
-
VALUE_MATCH
public static final BasicProperty<ValueMatch,CustomFieldVO> VALUE_MATCH
-
-
Constructor Detail
-
CustomFieldVO
public CustomFieldVO()
-
CustomFieldVO
public CustomFieldVO(Long id)
-
CustomFieldVO
public CustomFieldVO(Property<T,? super CustomFieldVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classConfigurationEntityVO
-
getControl
public CustomFieldControl getControl()
-
setControl
public void setControl(CustomFieldControl control)
-
getDecimalDigits
public Integer getDecimalDigits()
- Specified by:
getDecimalDigitsin interfaceICustomField
-
setDecimalDigits
public void setDecimalDigits(Integer decimalDigits)
-
getLinkedEntityRecordType
public RecordTypeVO getLinkedEntityRecordType()
-
setLinkedEntityRecordType
public void setLinkedEntityRecordType(RecordTypeVO linkedEntityRecordType)
-
getLinkedEntityType
public LinkedEntityType getLinkedEntityType()
- Specified by:
getLinkedEntityTypein interfaceICustomField
-
setLinkedEntityType
public void setLinkedEntityType(LinkedEntityType linkedEntityType)
-
getNature
public CustomFieldNature getNature()
-
setNature
public void setNature(CustomFieldNature nature)
-
getType
public CustomFieldType getType()
- Specified by:
getTypein interfaceICustomField
-
setType
public void setType(CustomFieldType type)
-
getValueMatch
public ValueMatch getValueMatch()
Description copied from interface:HasValueMatchReturns the value match, or null if this field is not searchable- Specified by:
getValueMatchin interfaceHasValueMatch
-
setValueMatch
public void setValueMatch(ValueMatch valueMatch)
-
-