org.codehaus.enunciate.contract.validation
Class ValidationMessage

java.lang.Object
  extended by org.codehaus.enunciate.contract.validation.ValidationMessage

public class ValidationMessage
extends java.lang.Object

Author:
Ryan Heaton

Constructor Summary
ValidationMessage(com.sun.mirror.util.SourcePosition position, java.lang.String text)
           
 
Method Summary
 java.lang.String getLabel()
          The label applied to this validation message.
 com.sun.mirror.util.SourcePosition getPosition()
          The source position of this validation message.
 java.lang.String getText()
          The text of the message.
 void setLabel(java.lang.String label)
          The label applied to this validation message.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationMessage

public ValidationMessage(com.sun.mirror.util.SourcePosition position,
                         java.lang.String text)
Method Detail

getPosition

public com.sun.mirror.util.SourcePosition getPosition()
The source position of this validation message.

Returns:
The source position of this validation message.

getText

public java.lang.String getText()
The text of the message.

Returns:
The text of the message.

getLabel

public java.lang.String getLabel()
The label applied to this validation message.

Returns:
The label applied to this validation message.

setLabel

public void setLabel(java.lang.String label)
The label applied to this validation message.

Parameters:
label - The label applied to this validation message.

toString

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