edu.jhu.tmaj.util.data
Class Messages

java.lang.Object
  extended by edu.jhu.tmaj.util.data.Messages
All Implemented Interfaces:
java.io.Serializable

public final class Messages
extends java.lang.Object
implements java.io.Serializable

Represents a series of warning messages. A boolean flag also indicates whether if 1 or more warnings were generated.

See Also:
Serialized Form

Constructor Summary
Messages()
           
 
Method Summary
 void addMessage(java.lang.String message)
           
 void addMessages(Messages messages)
           
 void addMessageSection(java.lang.String message)
           
 boolean areMessages()
           
 java.lang.String getMessagesString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Messages

public Messages()
Method Detail

addMessage

public void addMessage(java.lang.String message)

areMessages

public boolean areMessages()

addMessageSection

public void addMessageSection(java.lang.String message)

getMessagesString

public java.lang.String getMessagesString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addMessages

public void addMessages(Messages messages)