|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pcube.apps.engage.ValidationMessage
public class ValidationMessage
ValidationMessage holds a validation result's message and severity. The severity can be error, warning or information;
| Field Summary | |
|---|---|
static int |
TYPE_ERROR
Comment for TYPE_ERROR |
static int |
TYPE_INFORMATION
Comment for TYPE_INFORMATION |
static int |
TYPE_WARNING
Comment for TYPE_WARNING |
| Constructor Summary | |
|---|---|
ValidationMessage(java.lang.String msg,
int type)
ValidationMessage constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Checks if this ValidationMessage equals another object. |
java.lang.String |
getMessage()
Gets the message String. |
int |
getType()
Gets the message's severity. |
int |
hashCode()
Gets this ValidationMessage hashcode. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_ERROR
TYPE_ERROR
public static final int TYPE_WARNING
TYPE_WARNING
public static final int TYPE_INFORMATION
TYPE_INFORMATION
| Constructor Detail |
|---|
public ValidationMessage(java.lang.String msg,
int type)
msg - the messagetype - the message's typeTYPE_ERROR,
TYPE_WARNING,
TYPE_INFORMATION| Method Detail |
|---|
public java.lang.String getMessage()
public int getType()
TYPE_ERROR,
TYPE_WARNING,
TYPE_INFORMATIONpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare to
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
Cisco Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||