public static final class ValidationError.Severity
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ValidationError.Severity(int level)
Severity constructor, private on purpose.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Tests for severity equality.
|
int |
hashCode()
Returns a unique identifier for this severity.
|
java.lang.String |
toString()
Returns a string representation of this severity suitable
for debugging and diagnosis.
|
protected ValidationError.Severity(int level)
level - the severity level.public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public boolean equals(java.lang.Object o)
Type objects are loaded
by different class loaders.equals in class java.lang.Objecto - the object compared for equality to this
severity.true if and only if o
represents the same severity as this object.Object.equals(Object)