Class SimplePropertyValue
- java.lang.Object
-
- net.infonode.properties.propertymap.value.SimplePropertyValue
-
- All Implemented Interfaces:
PropertyValue
public class SimplePropertyValue extends java.lang.Object implements PropertyValue
-
-
Constructor Summary
Constructors Constructor Description SimplePropertyValue(java.lang.Object value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyValuecopyTo(PropertyMapImpl propertyMap)static PropertyValuedecode(java.io.ObjectInputStream in)voiddump(Printer printer)booleanequals(java.lang.Object obj)java.lang.Objectget(PropertyMapImpl object)PropertyValuegetParent()PropertyValuegetSubValue(PropertyMapImpl object)java.lang.ObjectgetWithDefault(PropertyMapImpl object)inthashCode()booleanisSerializable()static voidskip(java.io.ObjectInputStream in)java.lang.StringtoString()voidunset()voidupdateListener(boolean enable)voidwrite(java.io.ObjectOutputStream out)
-
-
-
Method Detail
-
updateListener
public void updateListener(boolean enable)
- Specified by:
updateListenerin interfacePropertyValue
-
getParent
public PropertyValue getParent()
- Specified by:
getParentin interfacePropertyValue
-
get
public java.lang.Object get(PropertyMapImpl object)
- Specified by:
getin interfacePropertyValue
-
getWithDefault
public java.lang.Object getWithDefault(PropertyMapImpl object)
- Specified by:
getWithDefaultin interfacePropertyValue
-
getSubValue
public PropertyValue getSubValue(PropertyMapImpl object)
- Specified by:
getSubValuein interfacePropertyValue
-
unset
public void unset()
- Specified by:
unsetin interfacePropertyValue
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
dump
public void dump(Printer printer)
- Specified by:
dumpin interfacePropertyValue
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
write
public void write(java.io.ObjectOutputStream out) throws java.io.IOException- Specified by:
writein interfacePropertyValue- Throws:
java.io.IOException
-
isSerializable
public boolean isSerializable()
- Specified by:
isSerializablein interfacePropertyValue
-
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:
copyToin interfacePropertyValue
-
-