|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.message.Messages
Collection for Messages
Field Summary | |
private java.util.Vector |
messages
The buffer into which the messages are stored. |
Constructor Summary | |
Messages()
Constructor for Messages |
Method Summary | |
void |
addMessage(MessageResource message)
Adds a new message to the collection |
Severity |
getSeverity()
Returns the highest severity for the messages in this list. |
boolean |
isError()
Checks if the list contains messages of severity "error" |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.util.Vector messages
Constructor Detail |
public Messages()
Method Detail |
public void addMessage(MessageResource message)
message
- the message resource.public Severity getSeverity()
public boolean isError()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |