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 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)
-
-
-
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 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
-
signalEmitted
public void signalEmitted(Signal signal, java.lang.Object object)
- Specified by:
signalEmitted
in interfaceSignalListener
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
dump
public void dump(Printer printer)
- Specified by:
dump
in interfacePropertyValue
-
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, 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 interfacePropertyValue
-
-