Class DtoInvalidStartAndEndTimeError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoInvalidStartAndEndTimeError
- All Implemented Interfaces:
IDtoAbstractError,IDtoInvalidStartAndEndTimeError
public class DtoInvalidStartAndEndTimeError
extends Object
implements IDtoInvalidStartAndEndTimeError
The object of type {objectType} at {path} has start bigger or equal to end.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoInvalidStartAndEndTimeError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoInvalidStartAndEndTimeError(String message, String path, String objectType) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe type of the object.getPath()The path of the object with invalid start/end time.getType()Type of this object.inthashCode()voidsetMessage(String message) voidsetObjectType(String objectType) The type of the object.voidThe path of the object with invalid start/end time.withMessage(String message) withObjectType(String objectType) The type of the object.The path of the object with invalid start/end time.
-
Constructor Details
-
DtoInvalidStartAndEndTimeError
protected DtoInvalidStartAndEndTimeError() -
DtoInvalidStartAndEndTimeError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoInvalidStartAndEndTimeError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoInvalidStartAndEndTimeError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoInvalidStartAndEndTimeError
-
getPath
The path of the object with invalid start/end time.- Specified by:
getPathin interfaceIDtoInvalidStartAndEndTimeError
-
setPath
The path of the object with invalid start/end time.- Specified by:
setPathin interfaceIDtoInvalidStartAndEndTimeError
-
getObjectType
The type of the object.- Specified by:
getObjectTypein interfaceIDtoInvalidStartAndEndTimeError
-
setObjectType
The type of the object.- Specified by:
setObjectTypein interfaceIDtoInvalidStartAndEndTimeError
-
withMessage
-
withPath
The path of the object with invalid start/end time. -
withObjectType
The type of the object. -
equals
-
hashCode
public int hashCode()
-