Package org.cyclos.model.system.fields
Class CustomFieldPossibleValueVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.system.fields.CustomFieldPossibleValueVO
-
- All Implemented Interfaces:
Serializable,IEntity,IInternalNamedEntity,ICustomFieldPossibleValue<CustomFieldPossibleValueCategoryVO>
public class CustomFieldPossibleValueVO extends EntityVO implements IInternalNamedEntity, ICustomFieldPossibleValue<CustomFieldPossibleValueCategoryVO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<CustomFieldPossibleValueCategoryVO,CustomFieldPossibleValueVO>CATEGORYstatic StringCLASS_NAMEstatic BasicProperty<Boolean,CustomFieldPossibleValueVO>DEFAULT_ON_SEARCHstatic BasicProperty<Boolean,CustomFieldPossibleValueVO>DEFAULT_VALUEstatic BasicProperty<String,CustomFieldPossibleValueVO>INTERNAL_NAMEstatic BasicProperty<String,CustomFieldPossibleValueVO>VALUE-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description CustomFieldPossibleValueVO()CustomFieldPossibleValueVO(Long id)CustomFieldPossibleValueVO(Property<T,? super CustomFieldPossibleValueVO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()CustomFieldPossibleValueCategoryVOgetCategory()StringgetInternalName()StringgetValue()booleanisDefaultOnSearch()booleanisDefaultValue()voidsetCategory(CustomFieldPossibleValueCategoryVO category)voidsetDefaultOnSearch(boolean defaultOnSearch)voidsetDefaultValue(boolean defaultValue)voidsetInternalName(String internalName)voidsetValue(String value)StringtoString()-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
CATEGORY
public static final BasicProperty<CustomFieldPossibleValueCategoryVO,CustomFieldPossibleValueVO> CATEGORY
-
DEFAULT_ON_SEARCH
public static final BasicProperty<Boolean,CustomFieldPossibleValueVO> DEFAULT_ON_SEARCH
-
DEFAULT_VALUE
public static final BasicProperty<Boolean,CustomFieldPossibleValueVO> DEFAULT_VALUE
-
INTERNAL_NAME
public static final BasicProperty<String,CustomFieldPossibleValueVO> INTERNAL_NAME
-
VALUE
public static final BasicProperty<String,CustomFieldPossibleValueVO> VALUE
-
-
Constructor Detail
-
CustomFieldPossibleValueVO
public CustomFieldPossibleValueVO()
-
CustomFieldPossibleValueVO
public CustomFieldPossibleValueVO(Long id)
-
CustomFieldPossibleValueVO
public CustomFieldPossibleValueVO(Property<T,? super CustomFieldPossibleValueVO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getCategory
public CustomFieldPossibleValueCategoryVO getCategory()
- Specified by:
getCategoryin interfaceICustomFieldPossibleValue<CustomFieldPossibleValueCategoryVO>
-
setCategory
public void setCategory(CustomFieldPossibleValueCategoryVO category)
-
isDefaultOnSearch
public boolean isDefaultOnSearch()
-
setDefaultOnSearch
public void setDefaultOnSearch(boolean defaultOnSearch)
-
isDefaultValue
public boolean isDefaultValue()
-
setDefaultValue
public void setDefaultValue(boolean defaultValue)
-
getInternalName
public String getInternalName()
- Specified by:
getInternalNamein interfaceIInternalNamedEntity- Returns:
- the internal name.
-
setInternalName
public void setInternalName(String internalName)
- Specified by:
setInternalNamein interfaceIInternalNamedEntity- Parameters:
internalName- the internal name to be set.
-
getValue
public String getValue()
- Specified by:
getValuein interfaceICustomFieldPossibleValue<CustomFieldPossibleValueCategoryVO>
-
setValue
public void setValue(String value)
-
toString
public String toString()
- Overrides:
toStringin classEntityModel
-
-