net.infonode.properties.propertymap.value
Class SimplePropertyValue

java.lang.Object
  extended by 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
           
 
Constructor Summary
SimplePropertyValue(java.lang.Object value)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private final java.lang.Object value
Constructor Detail

SimplePropertyValue

public SimplePropertyValue(java.lang.Object value)
Method Detail

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