net.infonode.properties.propertymap.value
Class SimplePropertyValue
java.lang.Object
net.infonode.properties.propertymap.value.SimplePropertyValue
- All Implemented Interfaces:
- PropertyValue
public class SimplePropertyValue
- extends java.lang.Object
- implements PropertyValue
- Version:
- $Revision: 1.14 $
- Author:
- $Author: jesper $
Field Summary |
private java.lang.Object |
value
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
value
private final java.lang.Object value
SimplePropertyValue
public SimplePropertyValue(java.lang.Object value)
updateListener
public void updateListener(boolean enable)
- Specified by:
updateListener
in interface PropertyValue
getParent
public PropertyValue getParent()
- Specified by:
getParent
in interface PropertyValue
get
public java.lang.Object get(PropertyMapImpl object)
- Specified by:
get
in interface PropertyValue
getWithDefault
public java.lang.Object getWithDefault(PropertyMapImpl object)
- Specified by:
getWithDefault
in interface PropertyValue
getSubValue
public PropertyValue getSubValue(PropertyMapImpl object)
- Specified by:
getSubValue
in interface PropertyValue
unset
public void unset()
- Specified by:
unset
in interface PropertyValue
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
dump
public void dump(Printer printer)
- Specified by:
dump
in interface PropertyValue
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
write
public void write(java.io.ObjectOutputStream out)
throws java.io.IOException
- Specified by:
write
in interface PropertyValue
- Throws:
java.io.IOException
isSerializable
public boolean isSerializable()
- Specified by:
isSerializable
in interface PropertyValue
decode
public static PropertyValue decode(java.io.ObjectInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
skip
public static void skip(java.io.ObjectInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
copyTo
public PropertyValue copyTo(PropertyMapImpl propertyMap)
- Specified by:
copyTo
in interface PropertyValue