|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.e2etrace.trace.AbstractTraceStepId
public class AbstractTraceStepId
Base class for trace step ids.
This class ensures that all trace step id use the same equals
and hashCode
implementation based on the string representation
of the trace step id.
Constructor Summary | |
---|---|
protected |
AbstractTraceStepId(String idAsString)
Constructor. |
Method Summary | |
---|---|
String |
asString()
Returns a String representation of the trace step id. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractTraceStepId(String idAsString)
idAsString
- string representation of the trace step id.
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String asString()
In contrast to toString
the String representation should be suitable
to be used in log and configuration files. Additionally it must uniquely identify an
id.
asString
in interface ITraceStepId
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |