edu.umd.cfar.lamp.viper.gui.config
Class SetAttrIsDynamic

java.lang.Object
  extended byedu.umd.cfar.lamp.viper.gui.config.SetAttrIsDynamic
All Implemented Interfaces:
PropertyInterfacer

public class SetAttrIsDynamic
extends java.lang.Object
implements PropertyInterfacer

Accessor of the 'isDynamic' method for Attribute Configs.


Constructor Summary
SetAttrIsDynamic()
           
 
Method Summary
 java.lang.String getName()
          Get the display name of the property.
 java.lang.Class getPropertyClass()
          Gets the Class associated with the property
 java.lang.Object getValue(java.lang.Object bean)
          Gets the current value of the property on the given bean.
 boolean isReadable()
          Checks to see if the property may be readable.
 boolean isReadableOn(java.lang.Object bean)
          Checks to see if the property is readable on the given bean.
 boolean isWritable()
          Checks to see if the property may be settable.
 boolean isWritableOn(java.lang.Object bean)
          Checks to see if the property is writable on the given bean.
 void setValue(java.lang.Object bean, java.lang.Object value)
          Sets a specific property of the passed bean to the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetAttrIsDynamic

public SetAttrIsDynamic()
Method Detail

setValue

public void setValue(java.lang.Object bean,
                     java.lang.Object value)
Description copied from interface: PropertyInterfacer
Sets a specific property of the passed bean to the given value.

Specified by:
setValue in interface PropertyInterfacer
Parameters:
bean - The java object to set the property specified by this PropertyInterfacer instance of.
value - The new value for the property

getName

public java.lang.String getName()
Description copied from interface: PropertyInterfacer
Get the display name of the property.

Specified by:
getName in interface PropertyInterfacer
Returns:
The (possibly localized) display name.

getPropertyClass

public java.lang.Class getPropertyClass()
Description copied from interface: PropertyInterfacer
Gets the Class associated with the property

Specified by:
getPropertyClass in interface PropertyInterfacer
Returns:
The java class of the property

isReadable

public boolean isReadable()
Description copied from interface: PropertyInterfacer
Checks to see if the property may be readable.

Specified by:
isReadable in interface PropertyInterfacer
Returns:
true if there exists some instances that allow this property to be read.

isWritable

public boolean isWritable()
Description copied from interface: PropertyInterfacer
Checks to see if the property may be settable.

Specified by:
isWritable in interface PropertyInterfacer
Returns:
true if there exists some instances that allow this property to be set.

getValue

public java.lang.Object getValue(java.lang.Object bean)
Description copied from interface: PropertyInterfacer
Gets the current value of the property on the given bean.

Specified by:
getValue in interface PropertyInterfacer
Parameters:
bean -
Returns:

isWritableOn

public boolean isWritableOn(java.lang.Object bean)
Description copied from interface: PropertyInterfacer
Checks to see if the property is writable on the given bean.

Specified by:
isWritableOn in interface PropertyInterfacer
Parameters:
bean - The bean to check
Returns:
true if the bean's property may be written

isReadableOn

public boolean isReadableOn(java.lang.Object bean)
Description copied from interface: PropertyInterfacer
Checks to see if the property is readable on the given bean.

Specified by:
isReadableOn in interface PropertyInterfacer
Parameters:
bean - The bean to check
Returns:
true if the bean's property may be read