org.das2.beans.AccessLevelBeanInfo

This class is designed to implement access levels for bean properties. The system property "edu.uiowa.physics.das.beans.AccessLevelBeanInfo.AccessLevel" will determine the access level of the bean. The access levels that are currently supported are "ALL" and "END_USER". The access level must be set prior to this class being loaded.


getAccessLevel

getAccessLevel( ) → org.das2.beans.AccessLevelBeanInfo.AccessLevel

Returns the access level for AccessLevelBeanInfo objects.

Returns:

org.das2.beans.AccessLevelBeanInfo.AccessLevel

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getBeanDescriptor

getBeanDescriptor( ) → java.beans.BeanDescriptor

get the descriptor for the class.

Returns:

a java.beans.BeanDescriptor

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getLock

getLock( ) → Object

Returns:

java.lang.Object

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getProperty

getProperty( java.beans.PropertyDescriptor pd ) → org.das2.beans.AccessLevelBeanInfo.Property

get the Property for the PropertyDescriptor.

Parameters

pd - a PropertyDescriptor

Returns:

an org.das2.beans.AccessLevelBeanInfo.Property

[search for examples] [view on GitHub] [view on old javadoc] [view source]


getPropertyDescriptors

getPropertyDescriptors( org.das2.beans.AccessLevelBeanInfo.PersistenceLevel persistenceLevel ) → java.beans.PropertyDescriptor[]

convenient method that only returns the descriptors for the specified persistence level. Also implements the property inheritance.

Parameters

persistenceLevel - an AccessLevelBeanInfo.PersistenceLevel

Returns:

java.beans.PropertyDescriptor[]

[search for examples] [view on GitHub] [view on old javadoc] [view source]

getPropertyDescriptors( ) → java.beans.PropertyDescriptor[]

setAccessLevel

setAccessLevel( org.das2.beans.AccessLevelBeanInfo.AccessLevel level ) → void

Sets the access level for AccessLevelBeanInfo objects.

Parameters

level - an AccessLevelBeanInfo.AccessLevel

Returns:

void (returns nothing)

[search for examples] [view on GitHub] [view on old javadoc] [view source]