com.jalios.jstore
Class StorableLogEntry

java.lang.Object
  extended by com.jalios.jstore.LogEntry
      extended by com.jalios.jstore.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.

Version:
$Revision: 27753 $
Author:
Olivier Dedieu

Field Summary
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
           
 
Fields 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, MAP_ASSIGN, MAP_CHARS_TO_ESCAPE, MAP_CLASS_SEPARATOR, MAP_FLAG, NAMESPACE, SH_SUFFIX, STORING_STATE, UPDATE_OP
 
Constructor Summary
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
 
Method Summary
 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)
           
 
Methods inherited from class com.jalios.jstore.LogEntry
compareTo, equals, getAttributes, getException, getLineNumber, getName, getSortedAttributeMap, getStamp, setAttributes, setException, setLineNumber, setStamp, toString, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REVISION

public static final java.lang.String REVISION
See Also:
Constant Field Values

OP

public static final java.lang.String OP
See Also:
Constant Field Values

ID

public static final java.lang.String ID
See Also:
Constant Field Values

op

protected java.lang.String op

id

protected java.lang.String id
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

openXMLElement

protected java.lang.String openXMLElement()
Overrides:
openXMLElement in class LogEntry

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)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.