Class StorableLogEntry

  • All Implemented Interfaces:
    StoreConstants, java.lang.Comparable<LogEntry>

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

      • StorableLogEntry

        public StorableLogEntry​(java.lang.String elementName,
                                java.util.Map<java.lang.String,​java.lang.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 Detail

      • isCreate

        public boolean isCreate()
      • isUpdate

        public boolean isUpdate()
      • isDelete

        public boolean isDelete()
      • getOperation

        public java.lang.String getOperation()
      • setOperation

        public void setOperation​(java.lang.String op)
      • getID

        public java.lang.String getID()
      • setID

        public void setID​(java.lang.String id)