org.commonreality.object.delta
Class DeltaTracker<O extends IMutableObject>
java.lang.Object
org.commonreality.object.delta.DeltaTracker<O>
- All Implemented Interfaces:
- java.io.Serializable, IIdentifiable, IMutableObject, ISimulationObject
public class DeltaTracker<O extends IMutableObject>
- extends java.lang.Object
- implements IMutableObject, java.io.Serializable
- Author:
- developer
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeltaTracker
public DeltaTracker(ISimulationObject object)
getIdentifier
public IIdentifier getIdentifier()
- Specified by:
getIdentifier in interface IIdentifiable
- Returns:
- identifier
- See Also:
IIdentifiable.getIdentifier()
get
public O get()
getDelta
public ObjectDelta getDelta()
hasChanged
public boolean hasChanged()
setProperty
public boolean setProperty(java.lang.String keyName,
java.lang.Object value)
- Specified by:
setProperty in interface IMutableObject
- See Also:
IMutableObject.setProperty(java.lang.String,
java.lang.Object)
getProperty
public java.lang.Object getProperty(java.lang.String keyName)
- Specified by:
getProperty in interface ISimulationObject
- See Also:
ISimulationObject.getProperty(java.lang.String)
hasProperty
public boolean hasProperty(java.lang.String keyName)
- Specified by:
hasProperty in interface ISimulationObject
- See Also:
ISimulationObject.hasProperty(java.lang.String)
getProperties
public java.util.Collection<java.lang.String> getProperties()
- Specified by:
getProperties in interface ISimulationObject
getPropertyMap
public java.util.Map<java.lang.String,java.lang.Object> getPropertyMap()
- Specified by:
getPropertyMap in interface ISimulationObject