cz.cuni.amis.pogamut.multi.communication.worldview.property
Class Vector3dProperty

java.lang.Object
  extended by cz.cuni.amis.pogamut.multi.communication.worldview.property.AbstractSharedProperty<Vector3d>
      extended by cz.cuni.amis.pogamut.multi.communication.worldview.property.Vector3dProperty
All Implemented Interfaces:
ISharedProperty<Vector3d>, java.lang.Cloneable

public class Vector3dProperty
extends AbstractSharedProperty<Vector3d>

Implementation of the ISharedProperty interface for Vector3d value type.


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.property.AbstractSharedProperty
AbstractSharedProperty.GenericPropertyUpdate
 
Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.property.AbstractSharedProperty
compositeClass, dirty, propertyId, value
 
Constructor Summary
Vector3dProperty(Vector3dProperty other)
           
Vector3dProperty(WorldObjectId objId, java.lang.String identifier, Vector3d value, java.lang.Class compositeClass)
           
 
Method Summary
 ISharedProperty clone()
          Must return an exact duplicate of this ISharedProperty, this will be used to create old versions of SharedProperties in the worldView.
protected  Vector3d cloneValue()
          Every descendant must implement this by calling value.clone() or otherwise returning a new copy of value.
 java.lang.Class getPropertyValueClass()
          Returns class of the property value.
 
Methods inherited from class cz.cuni.amis.pogamut.multi.communication.worldview.property.AbstractSharedProperty
createUpdateEvent, equals, getCompositeClass, getObjectId, getPropertyId, getValue, hashCode, isDirty, setDirty, setValue
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Vector3dProperty

public Vector3dProperty(WorldObjectId objId,
                        java.lang.String identifier,
                        Vector3d value,
                        java.lang.Class compositeClass)

Vector3dProperty

public Vector3dProperty(Vector3dProperty other)
Method Detail

clone

public ISharedProperty clone()
Description copied from interface: ISharedProperty
Must return an exact duplicate of this ISharedProperty, this will be used to create old versions of SharedProperties in the worldView.

Specified by:
clone in interface ISharedProperty<Vector3d>
Specified by:
clone in class AbstractSharedProperty<Vector3d>
Returns:

getPropertyValueClass

public java.lang.Class getPropertyValueClass()
Description copied from interface: ISharedProperty
Returns class of the property value. Used to enforce value-class checks.

Returns:

cloneValue

protected Vector3d cloneValue()
Description copied from class: AbstractSharedProperty
Every descendant must implement this by calling value.clone() or otherwise returning a new copy of value.

Specified by:
cloneValue in class AbstractSharedProperty<Vector3d>
Returns: