public abstract class AbstractValidationError extends Object implements ValidationError
| Modifier and Type | Field and Description |
|---|---|
protected Object |
acceptedValue |
protected Object |
errorObject |
protected String |
errorString |
protected Object |
errorValue |
protected String |
path |
protected String |
type |
| Constructor and Description |
|---|
AbstractValidationError() |
AbstractValidationError(String errorString,
Object errorObject) |
AbstractValidationError(String errorString,
Object errorObject,
Object errorValue,
Object acceptedValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAcceptedValue() |
Object |
getErrorObject() |
String |
getErrorString() |
Object |
getErrorValue() |
abstract String |
getMessage() |
String |
getType() |
void |
setAcceptedValue(Object acceptedValue) |
void |
setErrorObject(Object errorObject) |
void |
setErrorString(String errorString) |
void |
setErrorValue(Object errorValue) |
void |
setType(String type) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorField, getPathprotected String errorString
protected String path
protected String type
protected Object errorObject
protected Object errorValue
protected Object acceptedValue
public AbstractValidationError()
public AbstractValidationError(String errorString, Object errorObject, Object errorValue, Object acceptedValue)
public Object getAcceptedValue()
public void setAcceptedValue(Object acceptedValue)
public Object getErrorObject()
getErrorObject in interface ValidationErrorpublic void setErrorObject(Object errorObject)
public String getErrorString()
getErrorString in interface ValidationErrorpublic void setErrorString(String errorString)
public Object getErrorValue()
public void setErrorValue(Object errorValue)
public String getType()
getType in interface InformationMessagepublic void setType(String type)
public abstract String getMessage()
getMessage in interface InformationMessageCopyright © 2015. All rights reserved.