uk.org.ogsadai.common.properties
Class StaticProperty

java.lang.Object
  |
  +--java.util.Observable
        |
        +--uk.org.ogsadai.common.properties.Property
              |
              +--uk.org.ogsadai.common.properties.StaticProperty

public class StaticProperty
extends Property

A property consisting of a name and a value - the value is stored within this class.

Author:
The OGSA-DAI Project Team

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
protected  java.lang.Object mValue
          Property value
 
Fields inherited from class uk.org.ogsadai.common.properties.Property
mName, mSecurityContext
 
Fields inherited from class java.util.Observable
 
Constructor Summary
StaticProperty()
           
 
Method Summary
 java.lang.Object getValue()
          Return the property value.
 void setValue(java.lang.Object value)
          Set the property value.
 
Methods inherited from class uk.org.ogsadai.common.properties.Property
getName, setName, setSecurityContext
 
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
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values

mValue

protected java.lang.Object mValue
Property value

Constructor Detail

StaticProperty

public StaticProperty()
Method Detail

getValue

public java.lang.Object getValue()
                          throws PropertyValueException
Description copied from class: Property
Return the property value.

Specified by:
getValue in class Property
Returns:
the value for the property or null if it has not been set.
Throws:
PropertyValueException - if an error occurs when obtaining the value.

setValue

public void setValue(java.lang.Object value)
Description copied from class: Property
Set the property value.

Specified by:
setValue in class Property
Parameters:
value - Property value.