net.dpml.metro
Class ValidationException.Issue

java.lang.Object
  extended bynet.dpml.metro.ValidationException.Issue
All Implemented Interfaces:
Serializable
Enclosing class:
ValidationException

public static final class ValidationException.Issue
extends Object
implements Serializable

Issue implementation.

See Also:
Serialized Form

Constructor Summary
ValidationException.Issue(String key, String message)
          Creation of a new issue.
 
Method Summary
 boolean equals(Object other)
          Test is the supplied object is equal to this object.
 String getKey()
          Return the issue key.
 String getMessage()
          Return the issue message.
 int hashCode()
          Return the hashcode for the object.
 String toString()
          Return a string representation of the type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException.Issue

public ValidationException.Issue(String key,
                                 String message)
Creation of a new issue.

Parameters:
key - the key
message - the message
Method Detail

getKey

public String getKey()
Return the issue key.

Returns:
the key

getMessage

public String getMessage()
Return the issue message.

Returns:
the message

equals

public boolean equals(Object other)
Test is the supplied object is equal to this object.

Parameters:
other - the other object
Returns:
true if the object are equivalent

hashCode

public int hashCode()
Return the hashcode for the object.

Returns:
the hashcode value

toString

public String toString()
Return a string representation of the type.

Returns:
the stringified type