com.centrasite.control.registry.items.accessors
Class UserEmailAddressAccessor

java.lang.Object
  extended by com.centrasite.control.discovery.AbstractPropertyAccessor
      extended by com.centrasite.control.discovery.ReadWritePropertyAccessor
          extended by com.centrasite.control.registry.items.accessors.UserEmailAddressAccessor
All Implemented Interfaces:
PropertyAccessor, ComplexProperties

public class UserEmailAddressAccessor
extends ReadWritePropertyAccessor
implements ComplexProperties


Method Summary
static UserEmailAddressAccessor get()
           
 java.util.Iterator getAPIHeadings()
           
 java.util.Iterator getDisplayHeadings(java.util.Locale locale)
           
 java.lang.Class getModelType()
           
 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
 java.util.Collection getValues(Item item)
           
 boolean isComplexProperty()
          Check whether property is complex May be due to referenced item
 boolean isMultiple()
           
 void setValue(Item item, java.lang.String value)
          Set value of property for given Item
 void setValues(Item item, java.util.Collection values)
           
 
Methods inherited from class com.centrasite.control.discovery.ReadWritePropertyAccessor
isReadOnly, isRequired
 
Methods inherited from class com.centrasite.control.discovery.AbstractPropertyAccessor
editProperty, getActivatingMessage, getCommands, getDescription, getDisplayName, getReferencedItem, getSelectReferencedItemDescriptor, isDateProperty, isIntProperty, isTextEditAllowed, selectReferencedItem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static UserEmailAddressAccessor get()
Returns:
singleton instance

getPropertyName

public java.lang.String getPropertyName()
Description copied from interface: PropertyAccessor
Obtain name of property being accessed via this accessor.

Specified by:
getPropertyName in interface PropertyAccessor
Returns:
The string being returned is an internal string NOT being constructed by means of I18N infrastructure. It may be used internally for storing user-specific settings for example selected columns in a table. This selection should not depend on the language!

getValue

public java.lang.String getValue(Item item)
                          throws java.lang.Exception
Description copied from interface: PropertyAccessor
Get value of property for given Item

Specified by:
getValue in interface PropertyAccessor
Throws:
java.lang.Exception

getValues

public java.util.Collection getValues(Item item)
                               throws java.lang.Exception
Specified by:
getValues in interface ComplexProperties
Throws:
java.lang.Exception

setValues

public void setValues(Item item,
                      java.util.Collection values)
               throws java.lang.Exception
Specified by:
setValues in interface ComplexProperties
Throws:
java.lang.Exception

getDisplayHeadings

public java.util.Iterator getDisplayHeadings(java.util.Locale locale)
Specified by:
getDisplayHeadings in interface ComplexProperties

getAPIHeadings

public java.util.Iterator getAPIHeadings()
Specified by:
getAPIHeadings in interface ComplexProperties

isMultiple

public boolean isMultiple()
Specified by:
isMultiple in interface ComplexProperties

setValue

public void setValue(Item item,
                     java.lang.String value)
              throws java.lang.Exception
Description copied from interface: PropertyAccessor
Set value of property for given Item

Specified by:
setValue in interface PropertyAccessor
Throws:
java.lang.Exception

getModelType

public java.lang.Class getModelType()
Specified by:
getModelType in interface ComplexProperties

isComplexProperty

public boolean isComplexProperty()
Description copied from class: AbstractPropertyAccessor
Check whether property is complex May be due to referenced item

Specified by:
isComplexProperty in interface PropertyAccessor
Overrides:
isComplexProperty in class AbstractPropertyAccessor