uk.org.ogsadai.common.properties
Class DynamicProperty
java.lang.Object
|
+--java.util.Observable
|
+--uk.org.ogsadai.common.properties.Property
|
+--uk.org.ogsadai.common.properties.DynamicProperty
- public class DynamicProperty
- extends Property
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mPropertyCallback
protected PropertyCallback mPropertyCallback
DynamicProperty
public DynamicProperty()
getCallback
public PropertyCallback getCallback()
- Returns:
- The PropertyCallback object associated with this DynamicProperty.
Null if it has not been set
setCallback
public void setCallback(PropertyCallback callback)
- Parameters:
callback - The PropertyCallback object to be associated with this
DynamicProperty
getValue
public java.lang.Object getValue()
- Overrides:
getValue in class Property
- Returns:
- the value for the property, retrieved from the PropertyCallback object
Null if the PropertyCallback object has not been set.
setValue
public void setValue(java.lang.Object object)
- Sets the value in the PropertyCallback object.
- Overrides:
setValue in class Property
- Parameters:
object - The value for the property
setSecurityContext
public void setSecurityContext(SecurityContext sec)
- Sets the security context in the PropertyCallback object.
- Overrides:
setSecurityContext in class Property
- Parameters:
sec - The security context