Package com.jalios.jstore
Class StorableLogEntry
java.lang.Object
com.jalios.jstore.LogEntry
com.jalios.jstore.StorableLogEntry
- All Implemented Interfaces:
StoreConstants,Comparable<LogEntry>
This abstract class represents a Store operation on a Storable object.
- Author:
- Olivier Dedieu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringstatic final Stringprotected Stringstatic final StringFields inherited from interface com.jalios.jstore.StoreConstants
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, LOG_DIR_LOG_PREFIX, LOG_DIR_LOG_WORK, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP -
Constructor Summary
ConstructorsConstructorDescriptionStorableLogEntry(StorableLogEntry entry) Constructor for a new entry from an existing one.StorableLogEntry(String elementName, Map<String, String> attributes) Constructor for an entry stored by the application -
Method Summary
Methods inherited from class com.jalios.jstore.LogEntry
compareTo, equals, getAttributes, getException, getLineNumber, getName, getSortedAttributeMap, getStamp, setAttributes, setException, setLineNumber, setStamp, toString, toXML
-
Field Details
-
OP
- See Also:
-
ID
- See Also:
-
op
-
id
-
-
Constructor Details
-
StorableLogEntry
Constructor for an entry stored by the application- Parameters:
elementName- the name of the elementattributes- target attributes of the entry- Throws:
IllegalStoreOperation
-
StorableLogEntry
Constructor for a new entry from an existing one.
-
-
Method Details
-
openXMLElement
- Overrides:
openXMLElementin classLogEntry
-
isCreate
public boolean isCreate() -
isUpdate
public boolean isUpdate() -
isDelete
public boolean isDelete() -
getOperation
-
setOperation
-
getID
-
setID
-