uk.org.ogsadai.client.toolkit.properties
Class SimplePropertyImpl

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.properties.SimplePropertyImpl
All Implemented Interfaces:
Property

public class SimplePropertyImpl
extends java.lang.Object
implements Property

A representation of a property as a name-value pair.

Author:
The OGSA-DAI Team.
See Also:
Property

Constructor Summary
SimplePropertyImpl(javax.xml.namespace.QName name, java.lang.Object value)
          Create a new property.
 
Method Summary
 javax.xml.namespace.QName getName()
           
 java.lang.Object getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimplePropertyImpl

public SimplePropertyImpl(javax.xml.namespace.QName name,
                          java.lang.Object value)
Create a new property.

Parameters:
name - - property name.
value - - initial value.
Method Detail

getName

public javax.xml.namespace.QName getName()
Specified by:
getName in interface Property
Returns:
property name.

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface Property
Returns:
property value.