public class ConceptValueAccessor extends ReadWritePropertyAccessor
isComplexProperty, isDateProperty, isIntProperty
Modifier and Type | Method and Description |
---|---|
static ConceptValueAccessor |
get() |
java.lang.String |
getPropertyName()
Obtain name of property being accessed via this accessor.
|
java.lang.String |
getValue(Item item)
Get value of property for given Item
|
boolean |
isReadOnly(Item item)
Value of concept may be changed if t does not belong to ObjectType taxonomy
|
boolean |
isRequired() |
void |
setValue(Item item,
java.lang.String value)
Set value of property for given Item
|
editProperty, getActivatingMessage, getCommands, getDescription, getDisplayName, getReferencedItem, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, isTextEditAllowed, selectReferencedItem
public static ConceptValueAccessor get()
public java.lang.String getPropertyName()
PropertyAccessor
public java.lang.String getValue(Item item) throws java.lang.Exception
PropertyAccessor
java.lang.Exception
public void setValue(Item item, java.lang.String value) throws java.lang.Exception
PropertyAccessor
java.lang.Exception
public boolean isRequired()
isRequired
in class ReadWritePropertyAccessor
public boolean isReadOnly(Item item)
isReadOnly
in interface PropertyAccessor
isReadOnly
in class ReadWritePropertyAccessor
item
- the item for which it is to be checked whether the access is read-only