Class InvalidAttributeValue
- java.lang.Object
-
- com.floragunn.codova.validation.errors.ValidationError
-
- com.floragunn.codova.validation.errors.InvalidAttributeValue
-
- All Implemented Interfaces:
Document<ValidationError>
public class InvalidAttributeValue extends ValidationError
-
-
Constructor Summary
Constructors Constructor Description InvalidAttributeValue(String attribute, Object value, Object expected)InvalidAttributeValue(String attribute, Object value, Object expected, Object jsonNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InvalidAttributeValueclone()InvalidAttributeValueexpected(Object expected)Map<String,Object>toBasicObject()StringtoString()StringtoValidationErrorsOverviewString()-
Methods inherited from class com.floragunn.codova.validation.errors.ValidationError
cause, docNode, getAttribute, getCause, getDocNode, getExpected, getExpectedAsString, getMessage, message, parse, parseArray, setAttribute
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.floragunn.codova.documents.Document
meta, toBytes, toDeepBasicObject, toDocNode, toJsonString, toPrettyJsonString, toSmile, toString, toYamlString
-
-
-
-
Method Detail
-
toBasicObject
public Map<String,Object> toBasicObject()
- Specified by:
toBasicObjectin interfaceDocument<ValidationError>- Overrides:
toBasicObjectin classValidationError
-
toString
public String toString()
- Overrides:
toStringin classValidationError
-
toValidationErrorsOverviewString
public String toValidationErrorsOverviewString()
- Overrides:
toValidationErrorsOverviewStringin classValidationError
-
expected
public InvalidAttributeValue expected(Object expected)
- Overrides:
expectedin classValidationError
-
clone
protected InvalidAttributeValue clone()
- Overrides:
clonein classValidationError
-
-