net.infonode.properties.propertymap.value
Class PropertyRefValue

java.lang.Object
  extended by net.infonode.properties.propertymap.value.PropertyRefValue
All Implemented Interfaces:
PropertyValue, SignalListener

public class PropertyRefValue
extends java.lang.Object
implements PropertyValue, SignalListener

Version:
$Revision: 1.17 $
Author:
$Author: jesper $

Field Summary
private  PropertyMapImpl map
           
private  PropertyRefValue parentRef
           
private  Property property
           
private  PropertyMapRef propertyObjectRef
           
private  Property propertyRef
           
 
Constructor Summary
PropertyRefValue(PropertyMapImpl map, Property property, PropertyMapRef propertyObjectRef, Property propertyRef, PropertyRefValue parentRef)
           
 
Method Summary
 PropertyValue copyTo(PropertyMapImpl propertyMap)
           
static PropertyValue decode(java.io.ObjectInputStream in, PropertyMapImpl propertyObject, Property property)
           
 void dump(Printer printer)
           
 java.lang.Object get(PropertyMapImpl object)
           
 PropertyMapImpl getMap()
           
 PropertyValue getParent()
           
 Property getProperty()
           
 PropertyValue getSubValue(PropertyMapImpl object)
           
 java.lang.Object getWithDefault(PropertyMapImpl object)
           
 boolean isSerializable()
           
 void signalEmitted(Signal signal, java.lang.Object object)
           
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

map

private PropertyMapImpl map

property

private Property property

propertyObjectRef

private PropertyMapRef propertyObjectRef

propertyRef

private Property propertyRef

parentRef

private PropertyRefValue parentRef
Constructor Detail

PropertyRefValue

public PropertyRefValue(PropertyMapImpl map,
                        Property property,
                        PropertyMapRef propertyObjectRef,
                        Property propertyRef,
                        PropertyRefValue parentRef)
Method Detail

getProperty

public Property getProperty()

getMap

public PropertyMapImpl getMap()

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

signalEmitted

public void signalEmitted(Signal signal,
                          java.lang.Object object)
Specified by:
signalEmitted in interface SignalListener

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

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,
                                   PropertyMapImpl propertyObject,
                                   Property property)
                            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