Package org.cyclos.model.system.fields
Class CustomFieldValueVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.system.fields.CustomFieldValueVO
-
- All Implemented Interfaces:
Serializable,IEntity,ICustomFieldValue<RawFileVO,ImageVO>,ICustomFieldValueWithList<CustomFieldPossibleValueVO,CustomFieldPossibleValueCategoryVO,RawFileVO,ImageVO>
- Direct Known Subclasses:
UserCustomFieldValueVO
public class CustomFieldValueVO extends EntityVO implements ICustomFieldValueWithList<CustomFieldPossibleValueVO,CustomFieldPossibleValueCategoryVO,RawFileVO,ImageVO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,CustomFieldValueVO>BOOLEAN_VALUEstatic StringCLASS_NAMEstatic BasicProperty<IDate,CustomFieldValueVO>DATE_VALUEstatic BasicProperty<BigDecimal,CustomFieldValueVO>DECIMAL_VALUEstatic ListProperty<CustomFieldPossibleValueVO,CustomFieldValueVO>ENUMERATED_VALUESstatic BasicProperty<CustomFieldVO,CustomFieldValueVO>FIELDstatic ListProperty<RawFileVO,CustomFieldValueVO>FILE_VALUESstatic ListProperty<ImageVO,CustomFieldValueVO>IMAGE_VALUESstatic BasicProperty<Integer,CustomFieldValueVO>INTEGER_VALUEstatic BasicProperty<LinkedEntityVO,CustomFieldValueVO>LINKED_ENTITY_VALUEstatic BasicProperty<String,CustomFieldValueVO>RICH_TEXT_VALUEstatic BasicProperty<String,CustomFieldValueVO>STRING_VALUEstatic BasicProperty<String,CustomFieldValueVO>TEXT_VALUE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CustomFieldValueVO()CustomFieldValueVO(Long id)CustomFieldValueVO(Property<T,? super CustomFieldValueVO> property, T value)
-
Method Summary
-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
BOOLEAN_VALUE
public static final BasicProperty<Boolean,CustomFieldValueVO> BOOLEAN_VALUE
-
DATE_VALUE
public static final BasicProperty<IDate,CustomFieldValueVO> DATE_VALUE
-
DECIMAL_VALUE
public static final BasicProperty<BigDecimal,CustomFieldValueVO> DECIMAL_VALUE
-
ENUMERATED_VALUES
public static final ListProperty<CustomFieldPossibleValueVO,CustomFieldValueVO> ENUMERATED_VALUES
-
FIELD
public static final BasicProperty<CustomFieldVO,CustomFieldValueVO> FIELD
-
FILE_VALUES
public static final ListProperty<RawFileVO,CustomFieldValueVO> FILE_VALUES
-
IMAGE_VALUES
public static final ListProperty<ImageVO,CustomFieldValueVO> IMAGE_VALUES
-
INTEGER_VALUE
public static final BasicProperty<Integer,CustomFieldValueVO> INTEGER_VALUE
-
LINKED_ENTITY_VALUE
public static final BasicProperty<LinkedEntityVO,CustomFieldValueVO> LINKED_ENTITY_VALUE
-
RICH_TEXT_VALUE
public static final BasicProperty<String,CustomFieldValueVO> RICH_TEXT_VALUE
-
STRING_VALUE
public static final BasicProperty<String,CustomFieldValueVO> STRING_VALUE
-
TEXT_VALUE
public static final BasicProperty<String,CustomFieldValueVO> TEXT_VALUE
-
-
Constructor Detail
-
CustomFieldValueVO
public CustomFieldValueVO()
-
CustomFieldValueVO
public CustomFieldValueVO(Long id)
-
CustomFieldValueVO
public CustomFieldValueVO(Property<T,? super CustomFieldValueVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getBooleanValue
public Boolean getBooleanValue()
- Specified by:
getBooleanValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setBooleanValue
public void setBooleanValue(Boolean booleanValue)
- Specified by:
setBooleanValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getDateValue
public IDate getDateValue()
- Specified by:
getDateValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setDateValue
public void setDateValue(IDate dateValue)
- Specified by:
setDateValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getDecimalValue
public BigDecimal getDecimalValue()
- Specified by:
getDecimalValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setDecimalValue
public void setDecimalValue(BigDecimal decimalValue)
- Specified by:
setDecimalValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getEnumeratedValues
public List<CustomFieldPossibleValueVO> getEnumeratedValues()
- Specified by:
getEnumeratedValuesin interfaceICustomFieldValueWithList<CustomFieldPossibleValueVO,CustomFieldPossibleValueCategoryVO,RawFileVO,ImageVO>
-
setEnumeratedValues
public void setEnumeratedValues(List<CustomFieldPossibleValueVO> enumeratedValues)
- Specified by:
setEnumeratedValuesin interfaceICustomFieldValueWithList<CustomFieldPossibleValueVO,CustomFieldPossibleValueCategoryVO,RawFileVO,ImageVO>
-
getField
public CustomFieldVO getField()
- Specified by:
getFieldin interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setField
public void setField(CustomFieldVO field)
-
getFileValues
public List<RawFileVO> getFileValues()
- Specified by:
getFileValuesin interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setFileValues
public void setFileValues(List<RawFileVO> fileValues)
- Specified by:
setFileValuesin interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getImageValues
public List<ImageVO> getImageValues()
- Specified by:
getImageValuesin interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setImageValues
public void setImageValues(List<ImageVO> imageValues)
- Specified by:
setImageValuesin interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getIntegerValue
public Integer getIntegerValue()
- Specified by:
getIntegerValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setIntegerValue
public void setIntegerValue(Integer integerValue)
- Specified by:
setIntegerValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getLinkedEntityValue
public LinkedEntityVO getLinkedEntityValue()
- Specified by:
getLinkedEntityValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setLinkedEntityValue
public void setLinkedEntityValue(LinkedEntityVO linkedEntityValue)
- Specified by:
setLinkedEntityValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getRichTextValue
public String getRichTextValue()
- Specified by:
getRichTextValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setRichTextValue
public void setRichTextValue(String richTextValue)
- Specified by:
setRichTextValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getStringValue
public String getStringValue()
- Specified by:
getStringValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setStringValue
public void setStringValue(String stringValue)
- Specified by:
setStringValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
getTextValue
public String getTextValue()
- Specified by:
getTextValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
setTextValue
public void setTextValue(String textValue)
- Specified by:
setTextValuein interfaceICustomFieldValue<RawFileVO,ImageVO>
-
toString
public String toString()
- Overrides:
toStringin classEntityModel
-
-