Class PropertyRefValue
- java.lang.Object
-
- net.infonode.properties.propertymap.value.PropertyRefValue
-
- All Implemented Interfaces:
PropertyValue,SignalListener
public class PropertyRefValue extends java.lang.Object implements PropertyValue, SignalListener
-
-
Constructor Summary
Constructors Constructor Description PropertyRefValue(PropertyMapImpl map, Property property, PropertyMapRef propertyObjectRef, Property propertyRef, PropertyRefValue parentRef)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyValuecopyTo(PropertyMapImpl propertyMap)static PropertyValuedecode(java.io.ObjectInputStream in, PropertyMapImpl propertyObject, Property property)voiddump(Printer printer)java.lang.Objectget(PropertyMapImpl object)PropertyMapImplgetMap()PropertyValuegetParent()PropertygetProperty()PropertyValuegetSubValue(PropertyMapImpl object)java.lang.ObjectgetWithDefault(PropertyMapImpl object)booleanisSerializable()voidsignalEmitted(Signal signal, java.lang.Object object)static voidskip(java.io.ObjectInputStream in)java.lang.StringtoString()voidunset()voidupdateListener(boolean enable)voidwrite(java.io.ObjectOutputStream out)
-
-
-
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:
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
-
signalEmitted
public void signalEmitted(Signal signal, java.lang.Object object)
- Specified by:
signalEmittedin interfaceSignalListener
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
dump
public void dump(Printer printer)
- Specified by:
dumpin interfacePropertyValue
-
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, 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:
copyToin interfacePropertyValue
-
-