public class ObjectHistoryRecord extends HistoryRecord
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ID |
(package private) String |
id
Whatever object id is determined.
|
description, GenericHistoryRecordType, object, timestamp, type| Constructor and Description |
|---|
ObjectHistoryRecord() |
ObjectHistoryRecord(Object graphObject)
A new blank history event.
|
ObjectHistoryRecord(String s)
An object history event whose type is represented as the string.
|
| Modifier and Type | Method and Description |
|---|---|
void |
copyInfoFrom(ObjectHistoryRecord he) |
String |
getID() |
Object |
getObject() |
org.w3c.dom.Document |
makeDocument()
Create an XML document such that "event" is the outermost tag.
|
void |
setID(String id) |
void |
setObject(Object graphObject) |
appendDescription, appendDescription, copyInfoFrom, getDescription, getTimestamp, getType, setDescription, setTimestamp, setType, toString, toXMLpublic static String DEFAULT_ID
String id
public ObjectHistoryRecord(Object graphObject)
public ObjectHistoryRecord()
public ObjectHistoryRecord(String s)
s - a string indicator of its type.ObjectHistoryRecordTypepublic void copyInfoFrom(ObjectHistoryRecord he)
public Object getObject()
getObject in class HistoryRecordpublic void setObject(Object graphObject)
setObject in class HistoryRecordpublic String getID()
public void setID(String id)
public org.w3c.dom.Document makeDocument()
makeDocument in class HistoryRecord