public abstract class DefaultDataObject extends DefaultPropertyChangeNotifier implements DataObject
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_ID |
propertyChangeSupport| Constructor and Description |
|---|
DefaultDataObject()
Constructs a new default data object.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListenerpublic static final String PROPERTY_ID
public DefaultDataObject()
public void setId(String id)
setId in interface DataObjectid - the object's UUID.public String getId()
getId in interface DataObjectpublic void accept(Visitor visitor)
accept in interface DataObjectvisitor - the visitor to be used.Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.