net.sf.minuteProject.architecture.holder.element
Class AbstractValidationError

java.lang.Object
  extended by 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


Field Summary
protected  Object acceptedValue
           
protected  Object errorObject
           
protected  String errorString
           
protected  Object errorValue
           
protected  String path
           
protected  String type
           
 
Constructor Summary
AbstractValidationError()
           
AbstractValidationError(String errorString, Object errorObject)
           
AbstractValidationError(String errorString, Object errorObject, Object errorValue, Object acceptedValue)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.sf.minuteProject.architecture.holder.element.ValidationError
getErrorField, getPath
 

Field Detail

errorString

protected String errorString

path

protected String path

type

protected String type

errorObject

protected Object errorObject

errorValue

protected Object errorValue

acceptedValue

protected Object acceptedValue
Constructor Detail

AbstractValidationError

public AbstractValidationError()

AbstractValidationError

public AbstractValidationError(String errorString,
                               Object errorObject,
                               Object errorValue,
                               Object acceptedValue)

AbstractValidationError

public AbstractValidationError(String errorString,
                               Object errorObject)
Method Detail

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.