Class DtoDanglingReferenceError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoDanglingReferenceError
- All Implemented Interfaces:
IDtoAbstractError,IDtoDanglingReferenceError
The {refType} with reference {reference} referenced in {path} could not be found.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoDanglingReferenceError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoDanglingReferenceError(String message, String reference, String refType, String path) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()The path where the object is referenced.The id (or other kind of reference) of a non existing object.The type of the referenced object.getType()Type of this object.inthashCode()voidsetMessage(String message) voidThe path where the object is referenced.voidsetReference(String reference) The id (or other kind of reference) of a non existing object.voidsetRefType(String refType) The type of the referenced object.withMessage(String message) The path where the object is referenced.withReference(String reference) The id (or other kind of reference) of a non existing object.withRefType(String refType) The type of the referenced object.
-
Constructor Details
-
DtoDanglingReferenceError
protected DtoDanglingReferenceError() -
DtoDanglingReferenceError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoDanglingReferenceError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoDanglingReferenceError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoDanglingReferenceError
-
getReference
The id (or other kind of reference) of a non existing object.- Specified by:
getReferencein interfaceIDtoDanglingReferenceError
-
setReference
The id (or other kind of reference) of a non existing object.- Specified by:
setReferencein interfaceIDtoDanglingReferenceError
-
getRefType
The type of the referenced object.- Specified by:
getRefTypein interfaceIDtoDanglingReferenceError
-
setRefType
The type of the referenced object.- Specified by:
setRefTypein interfaceIDtoDanglingReferenceError
-
getPath
The path where the object is referenced.- Specified by:
getPathin interfaceIDtoDanglingReferenceError
-
setPath
The path where the object is referenced.- Specified by:
setPathin interfaceIDtoDanglingReferenceError
-
withMessage
-
withReference
The id (or other kind of reference) of a non existing object. -
withRefType
The type of the referenced object. -
withPath
The path where the object is referenced. -
equals
-
hashCode
public int hashCode()
-