org.ximtec.igesture.core
Class DefaultDataObject
java.lang.Object
org.ximtec.igesture.core.DefaultPropertyChangeNotifier
org.ximtec.igesture.core.DefaultDataObject
- All Implemented Interfaces:
- Serializable, DataObject, PropertyChangeNotifier
- Direct Known Subclasses:
- Configuration, DefaultConstraint, DefaultConstraintEntry, DefaultDescriptor, DeviceUserAssociation, GestureClass, GestureSample, GestureSample3D, GestureSet, TestClass, TestSet, User
public abstract class DefaultDataObject
- extends DefaultPropertyChangeNotifier
- implements DataObject
Default implementation of the DataObject interface.
- Version:
- 1.0, Dec 2006
- Author:
- Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch
- See Also:
- Serialized Form
|
Method Summary |
void |
accept(Visitor visitor)
Accepts a visitor. |
String |
getId()
Returns the object's universally unique identifier (UUID). |
void |
setId(String id)
Sets the object's universally unique identifier (UUID). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_ID
public static final String PROPERTY_ID
- See Also:
- Constant Field Values
DefaultDataObject
public DefaultDataObject()
- Constructs a new default data object.
setId
public void setId(String id)
- Sets the object's universally unique identifier (UUID).
- Specified by:
setId in interface DataObject
- Parameters:
id - the object's UUID.
getId
public String getId()
- Returns the object's universally unique identifier (UUID).
- Specified by:
getId in interface DataObject
- Returns:
- the object's UUID.
accept
public void accept(Visitor visitor)
- Accepts a visitor.
- Specified by:
accept in interface DataObject
- Parameters:
visitor - the visitor to be used.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.