Class DtoNonTrivialLinearMaterialConsumptionError
java.lang.Object
com.vernaio.kayros.engine.v2.exception.dto.DtoNonTrivialLinearMaterialConsumptionError
- All Implemented Interfaces:
IDtoAbstractError,IDtoNonTrivialLinearMaterialConsumptionError
public class DtoNonTrivialLinearMaterialConsumptionError
extends Object
implements IDtoNonTrivialLinearMaterialConsumptionError
The material consumption at {path} has start!=end. At the moment, Linear Material Consumption is not yet implemented, you can only set start==end.
-
Field Summary
Fields inherited from interface com.vernaio.kayros.engine.v2.exception.dto.IDtoNonTrivialLinearMaterialConsumptionError
_DISCRIMINATOR_TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoNonTrivialLinearMaterialConsumptionError(String message, String path) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetPath()The path of the material consumption.getType()Type of this object.inthashCode()voidsetMessage(String message) voidThe path of the material consumption.withMessage(String message) The path of the material consumption.
-
Constructor Details
-
DtoNonTrivialLinearMaterialConsumptionError
protected DtoNonTrivialLinearMaterialConsumptionError() -
DtoNonTrivialLinearMaterialConsumptionError
-
-
Method Details
-
getType
Type of this object.- Specified by:
getTypein interfaceIDtoAbstractError- Specified by:
getTypein interfaceIDtoNonTrivialLinearMaterialConsumptionError
-
getMessage
- Specified by:
getMessagein interfaceIDtoAbstractError- Specified by:
getMessagein interfaceIDtoNonTrivialLinearMaterialConsumptionError
-
setMessage
- Specified by:
setMessagein interfaceIDtoAbstractError- Specified by:
setMessagein interfaceIDtoNonTrivialLinearMaterialConsumptionError
-
getPath
The path of the material consumption.- Specified by:
getPathin interfaceIDtoNonTrivialLinearMaterialConsumptionError
-
setPath
The path of the material consumption.- Specified by:
setPathin interfaceIDtoNonTrivialLinearMaterialConsumptionError
-
withMessage
-
withPath
The path of the material consumption. -
equals
-
hashCode
public int hashCode()
-