|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deri.wsmo4j.validator.ValidationMessageImpl org.deri.wsmo4j.validator.ValidationWarningImpl
public class ValidationWarningImpl
Validation Warning
Created on 18.11.2005 Committed by $Author$ $Source$,
Constructor Summary | |
---|---|
ValidationWarningImpl(org.wsmo.common.Entity entity,
String warning)
|
|
ValidationWarningImpl(org.wsmo.common.Entity entity,
String warning,
String quickFix)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
The equals method implements an equivalence relation
on non-null object references. |
int |
hashCode()
If two objects are equal according to the equals(Object) method, then calling
the hashCode method on each of the two objects must produce the same integer
result. |
String |
toString()
Formats the String representation of the ValidationError. |
Methods inherited from class org.deri.wsmo4j.validator.ValidationMessageImpl |
---|
getEntity, getQuickFix, getReason |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.wsmo.validator.ValidationMessage |
---|
getEntity, getQuickFix, getReason |
Constructor Detail |
---|
public ValidationWarningImpl(org.wsmo.common.Entity entity, String warning)
public ValidationWarningImpl(org.wsmo.common.Entity entity, String warning, String quickFix)
Method Detail |
---|
public String toString()
ValidationMessageImpl
toString
in class ValidationMessageImpl
Object.toString()
public boolean equals(Object obj)
The equals
method implements an equivalence relation
on non-null object references. ValidationWarnings are equal if their
warning and quickFix messages are equal.
It is generally necessary to override the hashCode
method whenever this method
is overridden.
equals
in class Object
o
- the reference object with which to compare.
true
if this object is the same as the obj
argument; false
otherwise.Object.equals(java.lang.Object)
,
Object.hashCode()
public int hashCode()
If two objects are equal according to the equals(Object)
method, then calling
the hashCode
method on each of the two objects must produce the same integer
result. However, it is not required that if two objects are unequal according to
the equals(Object)
method, then calling the hashCode
method on each of the two
objects must produce distinct integer results.
This method should be overriden, when the equals(Object)
method is overriden.
hashCode
in class Object
Object.hashCode()
,
Object.equals(Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |