|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jalios.jstore.LogEntry
public abstract class LogEntry
This abstract class represents a Store operation.
Field Summary | |
---|---|
static String |
REVISION
|
Constructor Summary | |
---|---|
LogEntry(LogEntry entry)
Creates a new LogEntry by cloning |
|
LogEntry(String elementName,
Map<String,String> attributes)
Creates a new LogEntry |
Method Summary | |
---|---|
int |
compareTo(LogEntry logEntry)
|
boolean |
equals(Object other)
|
Map<String,String> |
getAttributes()
Returns the attributes of this LogEntry |
Exception |
getException()
Get the value of exception. |
int |
getLineNumber()
Gets the value of lineNumber. |
String |
getName()
Returns the name of the element of this LogEntry |
Map<String,String> |
getSortedAttributeMap()
Returns the attribute map sorted according natural ordering of String. |
Stamp |
getStamp()
Returns the stamp of this LogEntry |
protected String |
openXMLElement()
|
void |
setAttributes(Map<String,String> attributes)
Sets the attribute map |
void |
setException(Exception v)
Sets the value of exception. |
void |
setLineNumber(int v)
Sets the value of lineNumber. |
void |
setStamp(Stamp stamp)
Sets the stamp of this LogEntry |
String |
toString()
|
String |
toXML()
Returns an XML representation of this LogEntry |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String REVISION
Constructor Detail |
---|
public LogEntry(String elementName, Map<String,String> attributes)
elementName
- the name of the elementattributes
- targe attributes of the entrypublic LogEntry(LogEntry entry)
entry
- the LogEntry to cloneMethod Detail |
---|
public void setStamp(Stamp stamp)
stamp
- the stamppublic Stamp getStamp()
public String getName()
public Map<String,String> getAttributes()
public void setAttributes(Map<String,String> attributes)
attributes
- public int getLineNumber()
public void setLineNumber(int v)
v
- Value to assign to lineNumber.public Exception getException()
public void setException(Exception v)
v
- Value to assign to exception.public Map<String,String> getSortedAttributeMap()
public String toXML()
public String toString()
toString
in class Object
protected String openXMLElement()
public boolean equals(Object other)
equals
in class Object
public int compareTo(LogEntry logEntry)
compareTo
in interface Comparable<LogEntry>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |