Package eu.europa.esig.dss.alert.status
Class MessageStatus
java.lang.Object
eu.europa.esig.dss.alert.status.MessageStatus
- All Implemented Interfaces:
Status
- Direct Known Subclasses:
ObjectStatus
Contains message describing the occurred event
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns a complete error message computed from the mainmessage
and subMessages from the different objectsReturns the error message describing the occurred eventReturns a collection of object identifiers associated with the eventboolean
isEmpty()
Returns whether the object is not filled (all values are null)void
setMessage
(String message) Sets the message describing the occurred eventtoString()
-
Constructor Details
-
MessageStatus
public MessageStatus()Default constructor initializing a null message
-
-
Method Details
-
getMessage
Description copied from interface:Status
Returns the error message describing the occurred event- Specified by:
getMessage
in interfaceStatus
- Returns:
String
-
setMessage
Sets the message describing the occurred event- Parameters:
message
-String
-
getRelatedObjectIds
Description copied from interface:Status
Returns a collection of object identifiers associated with the event- Specified by:
getRelatedObjectIds
in interfaceStatus
- Returns:
- a collection of
String
object ids associated with the event
-
isEmpty
public boolean isEmpty()Description copied from interface:Status
Returns whether the object is not filled (all values are null) -
getErrorString
Description copied from interface:Status
This method returns a complete error message computed from the mainmessage
and subMessages from the different objects- Specified by:
getErrorString
in interfaceStatus
- Returns:
String
-
toString
-