|
| 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 - String| Method Detail |
|---|
public java.lang.String getMessage()
public long getErrorCode()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object otherValue)
equals in class java.lang.ObjectotherValue - The other ValidationEntry to check for equality
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||