protected static class AccessLevelBeanInfo.Property
extends java.lang.Object
| Constructor and Description |
|---|
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.
|
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.
|
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Property(java.lang.String name,
AccessLevelBeanInfo.AccessLevel level,
AccessLevelBeanInfo.PersistenceLevel persistenceLevel,
java.lang.String getter,
java.lang.String setter,
java.lang.Class editor)
name - the name the user will see for this propertylevel - the AccessLevel associated with this propertygetter - the name of the accessor method for this propertysetter - the name of the mutator method for this propertyeditor - the class name of the graphical editor for this propertypublic Property(java.lang.String name,
AccessLevelBeanInfo.AccessLevel level,
java.lang.String getter,
java.lang.String setter,
java.lang.Class editor)
name - the name the user will see for this propertylevel - the AccessLevel associated with this propertygetter - the name of the accessor method for this propertysetter - the name of the mutator method for this propertyeditor - the class name of the graphical editor for this propertypublic 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)
name - the name the user will see for this propertylevel - the AccessLevel associated with this propertygetter - the name of the accessor method for this propertysetter - the name of the mutator method for this propertyigetter - the name of the indexed accessor method for this propertyisetter - the name of the indexed mutator method for this propertyeditor - the class name of the graphical editor for this propertypublic 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)
name - the name the user will see for this propertylevel - the AccessLevel associated with this propertygetter - the name of the accessor method for this propertysetter - the name of the mutator method for this propertyigetter - the name of the indexed accessor method for this propertyisetter - the name of the indexed mutator method for this propertyeditor - the class name of the graphical editor for this propertypublic AccessLevelBeanInfo.AccessLevel getLevel()
public java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Class beanClass)
throws java.beans.IntrospectionException
java.beans.IntrospectionExceptionpublic AccessLevelBeanInfo.PersistenceLevel getPersistenceLevel()