com.veromodo.tempo.messages
Class TIOAMessage

java.lang.Object
  extended by com.veromodo.tempo.messages.TIOAMessage
All Implemented Interfaces:
java.lang.Comparable<TIOAMessage>
Direct Known Subclasses:
TIOAError, TIOAFlag, TIOAInfo, TIOAWarning

public abstract class TIOAMessage
extends java.lang.Object
implements java.lang.Comparable<TIOAMessage>


Nested Class Summary
static class TIOAMessage.Severity
           
 
Constructor Summary
TIOAMessage(TIOAMessage.Severity s, java.lang.String description)
           
TIOAMessage(TIOAMessage.Severity s, java.lang.String description, java.lang.String explanation)
           
 
Method Summary
 int compareTo(TIOAMessage m)
           
 java.lang.String formatForConsole()
           
 java.lang.String getDescription()
           
 java.lang.String getExplanation()
           
 Extent getExtent()
           
 int getIntSeverity()
           
 TIOAMessage.Severity getSeverity()
           
 java.lang.String locToString()
           
 void setExplanation(java.lang.String s)
           
 void setExtent(Extent e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TIOAMessage

public TIOAMessage(TIOAMessage.Severity s,
                   java.lang.String description)

TIOAMessage

public TIOAMessage(TIOAMessage.Severity s,
                   java.lang.String description,
                   java.lang.String explanation)
Method Detail

setExtent

public void setExtent(Extent e)

getExtent

public Extent getExtent()

locToString

public java.lang.String locToString()

getDescription

public java.lang.String getDescription()

getExplanation

public java.lang.String getExplanation()

getSeverity

public TIOAMessage.Severity getSeverity()

setExplanation

public void setExplanation(java.lang.String s)

getIntSeverity

public int getIntSeverity()

formatForConsole

public java.lang.String formatForConsole()

compareTo

public int compareTo(TIOAMessage m)
Specified by:
compareTo in interface java.lang.Comparable<TIOAMessage>