|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.report.message.PlaceHolderDescId
public final class PlaceHolderDescId
Identifies a place holder description by its index an message type.
Constructor Summary | |
---|---|
PlaceHolderDescId(String placeHolderIndex) Convenience constructor for a place holder for any message type. |
|
PlaceHolderDescId(String placeHolderIndex, MessageType messageType) Default constructor. |
Method Summary | |
---|---|
int |
compareTo(PlaceHolderDescId o) |
boolean |
equals(Object object) Returns true if the given object is semantically equal to the given object, false otherwise. |
MessageType |
getMessageType() Returns the type of the indexed message. |
String |
getPlaceHolderIndex() Returns the index of the place holder within a message of the given message type. |
int |
hashCode() Returns the hash code of the object. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PlaceHolderDescId(String placeHolderIndex) throws NullPointerException
placeHolderIndex
- the index of the place holder within any message.
NullPointerException
- if
placeHolderIndex
is
null
.
public PlaceHolderDescId(String placeHolderIndex, MessageType messageType)
placeHolderIndex
- the index of the place holder within a message of the given message type.
messageType
- the type of the indexed message.
Method Detail |
---|
public String getPlaceHolderIndex()
public MessageType getMessageType()
public int hashCode()
hashCode
in class
Object
public boolean equals(Object object)
true
if the given object is semantically equal to the given object,
false
otherwise.
equals
in class
Object
object
- the instance to compare to.
true
if the given object is semantically equal to the given object,
false
otherwise.
public String toString()
toString
in class
Object
public int compareTo(PlaceHolderDescId o)
compareTo
in interface
Comparable<PlaceHolderDescId>
Comparable.compareTo(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |