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

java.lang.Object
  extended by com.centrasite.control.discovery.AbstractPropertyAccessor
      extended by com.centrasite.control.discovery.ReadOnlyPropertyAccessor
          extended by com.centrasite.control.registry.items.accessors.PolicyPriorityAccessor
All Implemented Interfaces:
PropertyAccessor

public class PolicyPriorityAccessor
extends ReadOnlyPropertyAccessor

PolicyPriorityAccessor.java


Constructor Summary
PolicyPriorityAccessor()
           
 
Method Summary
static PolicyPriorityAccessor 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 isIntProperty()
          Returns the current accessor is having number value or not
 
Methods inherited from class com.centrasite.control.discovery.ReadOnlyPropertyAccessor
getReferencedItem, isReadOnly, setValue
 
Methods inherited from class com.centrasite.control.discovery.AbstractPropertyAccessor
editProperty, getActivatingMessage, getCommands, getDescription, getDisplayName, getReferencedItem, getSelectReferencedItemDescriptor, isComplexProperty, isDateProperty, isTextEditAllowed, selectReferencedItem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyPriorityAccessor

public PolicyPriorityAccessor()
Method Detail

get

public static PolicyPriorityAccessor get()

getPropertyName

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

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

Throws:
java.lang.Exception

isIntProperty

public boolean isIntProperty()
Description copied from interface: PropertyAccessor
Returns the current accessor is having number value or not

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