Class StorableLogEntry

java.lang.Object
com.jalios.jstore.LogEntry
com.jalios.jstore.StorableLogEntry
All Implemented Interfaces:
StoreConstants, Comparable<LogEntry>

public class StorableLogEntry extends LogEntry implements StoreConstants
This abstract class represents a Store operation on a Storable object.
Author:
Olivier Dedieu
  • Field Details

  • Constructor Details

    • StorableLogEntry

      public StorableLogEntry(String elementName, Map<String,String> attributes)
      Constructor for an entry stored by the application
      Parameters:
      elementName - the name of the element
      attributes - target attributes of the entry
      Throws:
      IllegalStoreOperation
    • StorableLogEntry

      public StorableLogEntry(StorableLogEntry entry)
      Constructor for a new entry from an existing one.
  • Method Details

    • openXMLElement

      protected String openXMLElement()
      Overrides:
      openXMLElement in class LogEntry
    • isCreate

      public boolean isCreate()
    • isUpdate

      public boolean isUpdate()
    • isDelete

      public boolean isDelete()
    • getOperation

      public String getOperation()
    • setOperation

      public void setOperation(String op)
    • getID

      public String getID()
    • setID

      public void setID(String id)