Class DtoMaterialConsumption
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoMaterialConsumption
- All Implemented Interfaces:
IDtoMaterialConsumption
Details about the material and the quantity required for the job.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEnd()The consumed material will be removed linearly from the stock, ending at this time.Name of the material that is required to run the jobAmount of material that is required to run the job.getStart()The consumed material will be removed linearly from the stock, starting at this time.inthashCode()voidThe consumed material will be removed linearly from the stock, ending at this time.voidsetMaterial(String material) Name of the material that is required to run the jobvoidsetQuantity(Long quantity) Amount of material that is required to run the job.voidThe consumed material will be removed linearly from the stock, starting at this time.The consumed material will be removed linearly from the stock, ending at this time.withMaterial(String material) Name of the material that is required to run the jobwithQuantity(Long quantity) Amount of material that is required to run the job.The consumed material will be removed linearly from the stock, starting at this time.
-
Constructor Details
-
DtoMaterialConsumption
protected DtoMaterialConsumption() -
DtoMaterialConsumption
-
-
Method Details
-
getMaterial
Name of the material that is required to run the job- Specified by:
getMaterialin interfaceIDtoMaterialConsumption
-
setMaterial
Name of the material that is required to run the job- Specified by:
setMaterialin interfaceIDtoMaterialConsumption
-
getQuantity
Amount of material that is required to run the job.- Specified by:
getQuantityin interfaceIDtoMaterialConsumption
-
setQuantity
Amount of material that is required to run the job.- Specified by:
setQuantityin interfaceIDtoMaterialConsumption
-
getStart
The consumed material will be removed linearly from the stock, starting at this time.- Specified by:
getStartin interfaceIDtoMaterialConsumption
-
setStart
The consumed material will be removed linearly from the stock, starting at this time.- Specified by:
setStartin interfaceIDtoMaterialConsumption
-
getEnd
The consumed material will be removed linearly from the stock, ending at this time.- Specified by:
getEndin interfaceIDtoMaterialConsumption
-
setEnd
The consumed material will be removed linearly from the stock, ending at this time.- Specified by:
setEndin interfaceIDtoMaterialConsumption
-
withMaterial
Name of the material that is required to run the job -
withQuantity
Amount of material that is required to run the job. -
withStart
The consumed material will be removed linearly from the stock, starting at this time. -
withEnd
The consumed material will be removed linearly from the stock, ending at this time. -
equals
-
hashCode
public int hashCode()
-