|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.dbobj.DBObject.FieldError
Private class that defines errors for fields.
| Constructor Summary | |
DBObject.FieldError()
Default Constructor |
|
DBObject.FieldError(String fldName,
String message)
Constructor that sets all fields. |
|
| Method Summary | |
String |
getErrorMessage()
Returns the error message associated with this FieldError class. |
String |
getFieldName()
Returns the fieldName that this error message belongs to. |
void |
setErrorMessage(String newValue)
Sets the Error Message for this class. |
void |
setFieldName(String newValue)
Sets the field name for this error class |
String |
toString()
Overrides default toString() behavior. to return a friendly message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DBObject.FieldError()
public DBObject.FieldError(String fldName,
String message)
fldName - The fieldName to associate withmessage - The appropriate message| Method Detail |
public String getFieldName()
public String getErrorMessage()
public void setFieldName(String newValue)
newValue - The new field name valuepublic void setErrorMessage(String newValue)
newValue - the new Error message for this objectpublic String toString()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||