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