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

Package class diagram package LongProperty
java.lang.Object
  extended by cz.cuni.amis.pogamut.multi.communication.worldview.property.AbstractSharedProperty<Long>
      extended by cz.cuni.amis.pogamut.multi.communication.worldview.property.LongProperty
All Implemented Interfaces:
ISharedProperty<Long>, Cloneable

public class LongProperty
extends AbstractSharedProperty<Long>


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
LongProperty(LongProperty other)
           
LongProperty(WorldObjectId objId, String identifier, Long value, Class compositeClass)
           
 
Method Summary
 ISharedProperty<Long> clone()
          Must return an exact duplicate of this ISharedProperty, this will be used to create old versions of SharedProperties in the worldView.
protected  Long cloneValue()
          Every descendant must implement this by calling value.clone() or otherwise returning a new copy of value.
 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, nullOverrides, setDirty, setValue
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongProperty

public LongProperty(WorldObjectId objId,
                    String identifier,
                    Long value,
                    Class compositeClass)

LongProperty

public LongProperty(LongProperty other)
Method Detail

getPropertyValueClass

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

Returns:

cloneValue

protected Long 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<Long>
Returns:

clone

public ISharedProperty<Long> 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<Long>
Specified by:
clone in class AbstractSharedProperty<Long>
Returns:


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.