public class PrincipalNameAccessor extends ReadOnlyPropertyAccessor implements StylablePropertyAccessor
isComplexProperty, isDateProperty, isIntProperty
Modifier and Type | Method and Description |
---|---|
static PrincipalNameAccessor |
get() |
java.lang.String |
getDisplayName(java.util.Locale locale)
Obtain a localized display name for the property accessed using this PropertyAccessor
|
java.lang.String |
getPropertyName()
Obtain name of property being accessed via this accessor.
|
java.lang.String |
getStyle(Item item) |
java.lang.String |
getValue(Item item)
Get value of property for given Item
|
boolean |
isRequired() |
getReferencedItem, isReadOnly, setValue
editProperty, getActivatingMessage, getCommands, getDescription, getReferencedItem, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isIntProperty, isTextEditAllowed, selectReferencedItem
public static PrincipalNameAccessor get()
public java.lang.String getPropertyName()
PropertyAccessor
getPropertyName
in interface PropertyAccessor
public java.lang.String getDisplayName(java.util.Locale locale)
AbstractPropertyAccessor
getDisplayName
in interface PropertyAccessor
getDisplayName
in class AbstractPropertyAccessor
public java.lang.String getValue(Item item) throws java.lang.Exception
PropertyAccessor
getValue
in interface PropertyAccessor
java.lang.Exception
public java.lang.String getStyle(Item item)
getStyle
in interface StylablePropertyAccessor
item
- Used to make style decisions based on the specifics of the current item to be displayed.public boolean isRequired()