osdep.proxy
Class PropertyValue<V>

java.lang.Object
  extended by osdep.proxy.PropertyValue<V>

public class PropertyValue<V>
extends java.lang.Object

The value of a property. It can be set or not. The reason we are not using a simple nullable value is that a property can be set and have null value

Author:
SHZ Mar 14, 2008

Constructor Summary
PropertyValue()
           
PropertyValue(V value)
           
 
Method Summary
 V getValue()
           
 boolean isSet()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyValue

public PropertyValue(V value)
Parameters:
value -

PropertyValue

public PropertyValue()
Method Detail

isSet

public boolean isSet()
Returns:
true if the property has been set

getValue

public V getValue()
Returns:
the value