public class MessageContainer extends Object
Modifier and Type | Method and Description |
---|---|
List<Message> |
getErrorMessages()
Returns a list that contains all error messages.
|
List<Message> |
getErrorMessages(String type)
Returns a list that contains all error messages of a given type.
|
List<Message> |
getMessages()
Returns a list that contains all messages.
|
List<Message> |
getMessages(String type)
Returns a list that contains all messages of a given type.
|
List<Message> |
getWarningMessages()
Returns a list that contains all warning messages.
|
List<Message> |
getWarningMessages(String type)
Returns a list that contains all warning messages of a given type.
|
String |
toString() |
public List<Message> getMessages()
public List<Message> getErrorMessages()
public List<Message> getWarningMessages()
public List<Message> getMessages(String type)
type
- The type of the messages to be returned.public List<Message> getErrorMessages(String type)
type
- The type of the error messages to be returned.public List<Message> getWarningMessages(String type)
type
- The type of the warning message to be returned.Copyright © 2013. All Rights Reserved.