|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.report.message.PlaceHolderInfo
public class PlaceHolderInfo
Contains the information about a set of place holders.
Field Summary | |
---|---|
static PlaceHolderInfo |
EMPTY The singleton to represent the immutable empty place holder info. |
Constructor Summary | |
---|---|
PlaceHolderInfo() Default constructor. |
Method Summary | |
---|---|
PlaceHolderDesc |
getPlaceHolderDesc(PlaceHolderDescId id) Returns the place holder description identifier by the given id . |
PlaceHolderDesc |
getPlaceHolderDescOrDefault(PlaceHolderDescId id) Returns the place holder description identifier by the given id . |
List<PlaceHolderDesc> |
getPlaceHolderDescs(MessageType messageType) Returns an iteration over the place holder descriptions in their natural order. |
boolean |
isEmpty() Checks if the place holder info is empty. |
void |
putPlaceHolderDesc(PlaceHolderDesc desc) Sets the description with its identifier to the map of place holder descriptions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PlaceHolderInfo EMPTY
Constructor Detail |
---|
public PlaceHolderInfo()
Method Detail |
---|
public PlaceHolderDesc getPlaceHolderDesc(PlaceHolderDescId id)
id
.
id
- the identifier of the place holder description requested.
null
, if there is no place holder description for the given
id
.
public PlaceHolderDesc getPlaceHolderDescOrDefault(PlaceHolderDescId id)
id
.
id
- the identifier of the place holder description requested.
null
, if there is no place holder description for the given
id
.
public List<PlaceHolderDesc> getPlaceHolderDescs(MessageType messageType)
messageType
- the message type for which descriptors are requested.
public void putPlaceHolderDesc(PlaceHolderDesc desc)
desc
- the description to add.
public boolean isEmpty()
true
if no place holder descriptions are provided,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |