org.das2.beans
Class AccessLevelBeanInfo.Property

java.lang.Object
  extended by org.das2.beans.AccessLevelBeanInfo.Property
Enclosing class:
AccessLevelBeanInfo

protected static class AccessLevelBeanInfo.Property
extends java.lang.Object

AccessLevelBeanInfo.Property is a helper class for subclasses of AccessLevelBeanInfo to specify a list of properties in a way that is independant of the underlying Bean/PropertyDescriptor implementation.


Constructor Summary
AccessLevelBeanInfo.Property(java.lang.String name, AccessLevelBeanInfo.AccessLevel level, AccessLevelBeanInfo.PersistenceLevel persistenceLevel, java.lang.String getter, java.lang.String setter, java.lang.Class editor)
          Creates a new Property object.
AccessLevelBeanInfo.Property(java.lang.String name, AccessLevelBeanInfo.AccessLevel level, AccessLevelBeanInfo.PersistenceLevel persistenceLevel, java.lang.String getter, java.lang.String setter, java.lang.String igetter, java.lang.String isetter, java.lang.Class editor)
          Creates a new Property object that is indexed.
AccessLevelBeanInfo.Property(java.lang.String name, AccessLevelBeanInfo.AccessLevel level, java.lang.String getter, java.lang.String setter, java.lang.Class editor)
          Creates a new Property object.
AccessLevelBeanInfo.Property(java.lang.String name, AccessLevelBeanInfo.AccessLevel level, java.lang.String getter, java.lang.String setter, java.lang.String igetter, java.lang.String isetter, java.lang.Class editor)
          Creates a new Property object that is indexed.
 
Method Summary
 AccessLevelBeanInfo.AccessLevel getLevel()
          Returns the access level for this property
 AccessLevelBeanInfo.PersistenceLevel getPersistenceLevel()
           
 java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Class beanClass)
          Returns a PropertyDescriptor for this property that is associated with the specified bean class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessLevelBeanInfo.Property

public AccessLevelBeanInfo.Property(java.lang.String name,
                                    AccessLevelBeanInfo.AccessLevel level,
                                    AccessLevelBeanInfo.PersistenceLevel persistenceLevel,
                                    java.lang.String getter,
                                    java.lang.String setter,
                                    java.lang.Class editor)
Creates a new Property object.

Parameters:
name - the name the user will see for this property
level - the AccessLevel associated with this property
getter - the name of the accessor method for this property
setter - the name of the mutator method for this property
editor - the class name of the graphical editor for this property

AccessLevelBeanInfo.Property

public AccessLevelBeanInfo.Property(java.lang.String name,
                                    AccessLevelBeanInfo.AccessLevel level,
                                    java.lang.String getter,
                                    java.lang.String setter,
                                    java.lang.Class editor)
Creates a new Property object.

Parameters:
name - the name the user will see for this property
level - the AccessLevel associated with this property
getter - the name of the accessor method for this property
setter - the name of the mutator method for this property
editor - the class name of the graphical editor for this property

AccessLevelBeanInfo.Property

public AccessLevelBeanInfo.Property(java.lang.String name,
                                    AccessLevelBeanInfo.AccessLevel level,
                                    AccessLevelBeanInfo.PersistenceLevel persistenceLevel,
                                    java.lang.String getter,
                                    java.lang.String setter,
                                    java.lang.String igetter,
                                    java.lang.String isetter,
                                    java.lang.Class editor)
Creates a new Property object that is indexed.

Parameters:
name - the name the user will see for this property
level - the AccessLevel associated with this property
getter - the name of the accessor method for this property
setter - the name of the mutator method for this property
igetter - the name of the indexed accessor method for this property
isetter - the name of the indexed mutator method for this property
editor - the class name of the graphical editor for this property

AccessLevelBeanInfo.Property

public AccessLevelBeanInfo.Property(java.lang.String name,
                                    AccessLevelBeanInfo.AccessLevel level,
                                    java.lang.String getter,
                                    java.lang.String setter,
                                    java.lang.String igetter,
                                    java.lang.String isetter,
                                    java.lang.Class editor)
Creates a new Property object that is indexed.

Parameters:
name - the name the user will see for this property
level - the AccessLevel associated with this property
getter - the name of the accessor method for this property
setter - the name of the mutator method for this property
igetter - the name of the indexed accessor method for this property
isetter - the name of the indexed mutator method for this property
editor - the class name of the graphical editor for this property
Method Detail

getLevel

public AccessLevelBeanInfo.AccessLevel getLevel()
Returns the access level for this property


getPropertyDescriptor

public java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Class beanClass)
                                                    throws java.beans.IntrospectionException
Returns a PropertyDescriptor for this property that is associated with the specified bean class.

Throws:
java.beans.IntrospectionException

getPersistenceLevel

public AccessLevelBeanInfo.PersistenceLevel getPersistenceLevel()