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 PropertyValue
copyTo(PropertyMapImpl propertyMap)
static PropertyValue
decode(java.io.ObjectInputStream in)
void
dump(Printer printer)
boolean
equals(java.lang.Object obj)
java.lang.Object
get(PropertyMapImpl object)
PropertyValue
getParent()
PropertyValue
getSubValue(PropertyMapImpl object)
java.lang.Object
getWithDefault(PropertyMapImpl object)
int
hashCode()
boolean
isSerializable()
static void
skip(java.io.ObjectInputStream in)
java.lang.String
toString()
void
unset()
void
updateListener(boolean enable)
void
write(java.io.ObjectOutputStream out)
-
-
-
Method Detail
-
updateListener
public void updateListener(boolean enable)
- Specified by:
updateListener
in interfacePropertyValue
-
getParent
public PropertyValue getParent()
- Specified by:
getParent
in interfacePropertyValue
-
get
public java.lang.Object get(PropertyMapImpl object)
- Specified by:
get
in interfacePropertyValue
-
getWithDefault
public java.lang.Object getWithDefault(PropertyMapImpl object)
- Specified by:
getWithDefault
in interfacePropertyValue
-
getSubValue
public PropertyValue getSubValue(PropertyMapImpl object)
- Specified by:
getSubValue
in interfacePropertyValue
-
unset
public void unset()
- Specified by:
unset
in interfacePropertyValue
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
dump
public void dump(Printer printer)
- Specified by:
dump
in interfacePropertyValue
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
write
public void write(java.io.ObjectOutputStream out) throws java.io.IOException
- Specified by:
write
in interfacePropertyValue
- Throws:
java.io.IOException
-
isSerializable
public boolean isSerializable()
- Specified by:
isSerializable
in 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:
copyTo
in interfacePropertyValue
-
-