org.base.apps.beans
Class BoundProperty

java.lang.Object
  extended by org.base.apps.util.BaseNameable
      extended by org.base.apps.beans.BoundProperty
All Implemented Interfaces:
Mutable<Object>, Nameable, Named

public class BoundProperty
extends BaseNameable
implements Nameable, Mutable<Object>

Author:
Kevan Simpson

Constructor Summary
BoundProperty(PropertyDescriptor desc)
           
BoundProperty(String name)
           
 
Method Summary
 PropertyDescriptor getDescriptor()
           
 Kind getKind()
           
 Object getValue()
          Returns the object's Mutable value.
 void setDescriptor(PropertyDescriptor descriptor)
           
 void setValue(Object val)
          Sets the object's Mutable value.
 
Methods inherited from class org.base.apps.util.BaseNameable
getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.base.apps.util.Nameable
setName
 
Methods inherited from interface org.base.apps.util.Named
getName
 

Constructor Detail

BoundProperty

public BoundProperty(String name)

BoundProperty

public BoundProperty(PropertyDescriptor desc)
Method Detail

getKind

public Kind getKind()

getValue

public Object getValue()
Description copied from interface: Mutable
Returns the object's Mutable value.

Specified by:
getValue in interface Mutable<Object>
Returns:
the object's Mutable value.
See Also:
Mutable.getValue()

setValue

public void setValue(Object val)
Description copied from interface: Mutable
Sets the object's Mutable value.

Specified by:
setValue in interface Mutable<Object>
Parameters:
val - The value to set.
See Also:
Mutable.setValue(java.lang.Object)

getDescriptor

public PropertyDescriptor getDescriptor()
Returns:
the descriptor

setDescriptor

public void setDescriptor(PropertyDescriptor descriptor)
Parameters:
descriptor - the descriptor to set

Please visit Base Apps, hosted on Sourceforge.net.

Copyright 2011, Blue Agate Software Entity (BASE)