Package org.cyclos.entities.system
Class DynamicFieldValue
- java.lang.Object
-
- org.cyclos.entities.system.DynamicFieldValue
-
- All Implemented Interfaces:
Comparable<IDynamicFieldValue>,IDynamicFieldValue
@Embeddable public class DynamicFieldValue extends Object implements IDynamicFieldValue, Comparable<IDynamicFieldValue>
Stores a value for aCustomFieldof typeCustomFieldType.DYNAMIC_SELECTIONorCustomFieldType.DYNAMIC_MULTI_SELECTION
-
-
Constructor Summary
Constructors Constructor Description DynamicFieldValue()DynamicFieldValue(String value)DynamicFieldValue(String value, String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IDynamicFieldValue o)booleanequals(Object obj)StringgetLabel()StringgetValue()inthashCode()booleanisDefaultValue()voidsetDefaultValue(boolean defaultValue)voidsetLabel(String label)voidsetValue(String value)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.system.fields.IDynamicFieldValue
asString
-
-
-
-
Method Detail
-
compareTo
public int compareTo(IDynamicFieldValue o)
- Specified by:
compareToin interfaceComparable<IDynamicFieldValue>
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfaceIDynamicFieldValue
-
getValue
public String getValue()
- Specified by:
getValuein interfaceIDynamicFieldValue
-
isDefaultValue
public boolean isDefaultValue()
-
setDefaultValue
public void setDefaultValue(boolean defaultValue)
-
setLabel
public void setLabel(String label)
-
setValue
public void setValue(String value)
-
-