uk.org.ogsadai.common.properties
Class Property

java.lang.Object
  |
  +--java.util.Observable
        |
        +--uk.org.ogsadai.common.properties.Property
Direct Known Subclasses:
DynamicProperty, StaticProperty

public abstract class Property
extends java.util.Observable


Field Summary
protected  javax.xml.namespace.QName mName
           
protected  SecurityContext mSecurityContext
           
protected  java.lang.Object mValue
           
 
Constructor Summary
Property()
           
 
Method Summary
 javax.xml.namespace.QName getName()
           
 java.lang.Object getValue()
           
 void setName(javax.xml.namespace.QName name)
           
 void setSecurityContext(SecurityContext sec)
           
 void setValue(java.lang.Object object)
           
 
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

mName

protected javax.xml.namespace.QName mName

mValue

protected java.lang.Object mValue

mSecurityContext

protected SecurityContext mSecurityContext
Constructor Detail

Property

public Property()
Method Detail

getName

public javax.xml.namespace.QName getName()
Returns:
the QName for the property. Null if it has not been set.

getValue

public java.lang.Object getValue()
Returns:
the value for the property Null if it has not been set.

setName

public void setName(javax.xml.namespace.QName name)
Parameters:
name - The QName for the property

setValue

public void setValue(java.lang.Object object)
Parameters:
object - The value for the property

setSecurityContext

public void setSecurityContext(SecurityContext sec)
Parameters:
sec - The security context