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, toXML
public static String DEFAULT_ID
String id
public ObjectHistoryRecord(Object graphObject)
public ObjectHistoryRecord()
public ObjectHistoryRecord(String s)
s
- a string indicator of its type.ObjectHistoryRecordType
public void copyInfoFrom(ObjectHistoryRecord he)
public Object getObject()
getObject
in class HistoryRecord
public void setObject(Object graphObject)
setObject
in class HistoryRecord
public String getID()
public void setID(String id)
public org.w3c.dom.Document makeDocument()
makeDocument
in class HistoryRecord