public class ReferenceSourceObjectAccessor extends ReadOnlyPropertyAccessor
isComplexProperty, isDateProperty, isIntProperty
Modifier and Type | Method and Description |
---|---|
static ReferenceSourceObjectAccessor |
get() |
java.lang.String |
getPropertyName()
Obtain name of property being accessed via this accessor.
|
Item |
getReferencedItem(Item item)
Get the Item referenced by this property
|
RegistryObjectItem |
getSourceObject(Item item) |
java.lang.String |
getValue(Item item)
Get value of property for given Item
|
getReferencedItem, isReadOnly, setValue
editProperty, getActivatingMessage, getCommands, getDescription, getDisplayName, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, isTextEditAllowed, selectReferencedItem
public static ReferenceSourceObjectAccessor get()
public java.lang.String getPropertyName()
PropertyAccessor
public java.lang.String getValue(Item item) throws java.lang.Exception
PropertyAccessor
java.lang.Exception
public Item getReferencedItem(Item item)
AbstractPropertyAccessor
getReferencedItem
in interface PropertyAccessor
getReferencedItem
in class AbstractPropertyAccessor
item
- the current Itempublic RegistryObjectItem getSourceObject(Item item)