|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.prompts.ValidationEntry
public class ValidationEntry
A ValidationEntry object holds an error code and message used to indicate to a caller that a prompt value was invalid and why it was invalid.
Constructor Summary | |
---|---|
ValidationEntry(long errorCode,
java.lang.String message)
Create a ValidationEntry object which contains an error code value and the message associated with the error. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object otherValue)
Returns whether the error code and message in another ValidationEntry match this ValidationEntry. |
long |
getErrorCode()
Returns an error code indicating why the value was invalid. |
java.lang.String |
getMessage()
Returns a text message indicating why the value was invalid. |
int |
hashCode()
Return a hash code for the ValidationEntry. |
java.lang.String |
toString()
Returns a text message indicating why the value was invalid. |
Constructor Detail |
---|
public ValidationEntry(long errorCode, java.lang.String message)
errorCode
- longmessage
- StringMethod Detail |
---|
public java.lang.String getMessage()
public long getErrorCode()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object otherValue)
equals
in class java.lang.Object
otherValue
- The other ValidationEntry to check for equality
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |