eu.planets_project.services.validate
Class ValidateResult.Message

java.lang.Object
  extended by eu.planets_project.services.validate.ValidateResult.Message
Enclosing class:
ValidateResult

public static final class ValidateResult.Message
extends java.lang.Object

Messages about errors and warnings collected during the validation. A message consist of two Strings, adress and description.


Constructor Summary
ValidateResult.Message(java.lang.String description)
          Construtor.
ValidateResult.Message(java.lang.String adress, java.lang.String description)
          Constructor.
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getDescription()
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidateResult.Message

public ValidateResult.Message(java.lang.String adress,
                              java.lang.String description)
Constructor.

Parameters:
adress - The adress of what provoked the message
description - The message

ValidateResult.Message

public ValidateResult.Message(java.lang.String description)
Construtor.

Parameters:
description - The message
Method Detail

getAddress

public java.lang.String getAddress()
Returns:
The address

getDescription

public java.lang.String getDescription()
Returns:
The description

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.