net.sf.minuteProject.architecture.holder.element
Class AbstractValidationError
java.lang.Object
net.sf.minuteProject.architecture.holder.element.AbstractValidationError
- All Implemented Interfaces:
- InformationMessage, ValidationError
- Direct Known Subclasses:
- SimpleValidationError, ValidationModelError
public abstract class AbstractValidationError
- extends Object
- implements ValidationError
errorString
protected String errorString
path
protected String path
type
protected String type
errorObject
protected Object errorObject
errorValue
protected Object errorValue
acceptedValue
protected Object acceptedValue
AbstractValidationError
public AbstractValidationError()
AbstractValidationError
public AbstractValidationError(String errorString,
Object errorObject,
Object errorValue,
Object acceptedValue)
AbstractValidationError
public AbstractValidationError(String errorString,
Object errorObject)
toString
public String toString()
- Overrides:
toString
in class Object
getAcceptedValue
public Object getAcceptedValue()
setAcceptedValue
public void setAcceptedValue(Object acceptedValue)
getErrorObject
public Object getErrorObject()
- Specified by:
getErrorObject
in interface ValidationError
setErrorObject
public void setErrorObject(Object errorObject)
getErrorString
public String getErrorString()
- Specified by:
getErrorString
in interface ValidationError
setErrorString
public void setErrorString(String errorString)
getErrorValue
public Object getErrorValue()
setErrorValue
public void setErrorValue(Object errorValue)
getType
public String getType()
- Specified by:
getType
in interface InformationMessage
setType
public void setType(String type)
getMessage
public abstract String getMessage()
- Specified by:
getMessage
in interface InformationMessage
Copyright © 2013. All Rights Reserved.