|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Objectpublic boolean equals(Object obj)
equals in class Objectpublic 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 | |||||||||