public class StorableLogEntry extends LogEntry implements StoreConstants
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
id |
static java.lang.String |
ID |
protected java.lang.String |
op |
static java.lang.String |
OP |
static java.lang.String |
REVISION |
ARRAY_FLAG, CLEANING_STATE, COLLECTION_FLAG, CREATE_OP, DELETE_OP, IDLE_STATE, INNER_LOGS, INNER_MILESTONE, INNER_PREFIX, INNER_SYNC, ITEM_ESCAPE_CHAR, ITEM_SEPARATOR, LOADING_STATE, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP
Constructor and Description |
---|
StorableLogEntry(StorableLogEntry entry)
Constructor for a new entry from an existing one.
|
StorableLogEntry(java.lang.String elementName,
java.util.Map<java.lang.String,java.lang.String> attributes)
Constructor for an entry stored by the application
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID() |
java.lang.String |
getOperation() |
boolean |
isCreate() |
boolean |
isDelete() |
boolean |
isUpdate() |
protected java.lang.String |
openXMLElement() |
void |
setID(java.lang.String id) |
void |
setOperation(java.lang.String op) |
compareTo, equals, getAttributes, getException, getLineNumber, getName, getSortedAttributeMap, getStamp, setAttributes, setException, setLineNumber, setStamp, toString, toXML
public static final java.lang.String REVISION
public static final java.lang.String OP
public static final java.lang.String ID
protected java.lang.String op
protected java.lang.String id
public StorableLogEntry(java.lang.String elementName, java.util.Map<java.lang.String,java.lang.String> attributes)
elementName
- the name of the elementattributes
- target attributes of the entryIllegalStoreOperation
public StorableLogEntry(StorableLogEntry entry)
protected java.lang.String openXMLElement()
openXMLElement
in class LogEntry
public boolean isCreate()
public boolean isUpdate()
public boolean isDelete()
public java.lang.String getOperation()
public void setOperation(java.lang.String op)
public java.lang.String getID()
public void setID(java.lang.String id)
Copyright © 2001-2010 Jalios SA. All Rights Reserved.