Class DtoMaterialProduction
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoMaterialProduction
- All Implemented Interfaces:
IDtoMaterialProduction
Details about the material and the quantity produced by the job.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEnd()The generated material will be added to the stock linearly until this time.Name of the material that is produced by the jobAmount of material that is produced by the job.getStart()The generated material will be added to the stock linearly starting from this time.inthashCode()voidThe generated material will be added to the stock linearly until this time.voidsetMaterial(String material) Name of the material that is produced by the jobvoidsetQuantity(Long quantity) Amount of material that is produced by the job.voidThe generated material will be added to the stock linearly starting from this time.The generated material will be added to the stock linearly until this time.withMaterial(String material) Name of the material that is produced by the jobwithQuantity(Long quantity) Amount of material that is produced by the job.The generated material will be added to the stock linearly starting from this time.
-
Constructor Details
-
DtoMaterialProduction
protected DtoMaterialProduction() -
DtoMaterialProduction
-
-
Method Details
-
getMaterial
Name of the material that is produced by the job- Specified by:
getMaterialin interfaceIDtoMaterialProduction
-
setMaterial
Name of the material that is produced by the job- Specified by:
setMaterialin interfaceIDtoMaterialProduction
-
getQuantity
Amount of material that is produced by the job.- Specified by:
getQuantityin interfaceIDtoMaterialProduction
-
setQuantity
Amount of material that is produced by the job.- Specified by:
setQuantityin interfaceIDtoMaterialProduction
-
getStart
The generated material will be added to the stock linearly starting from this time. Material in stock is available for consumption by other jobs.- Specified by:
getStartin interfaceIDtoMaterialProduction
-
setStart
The generated material will be added to the stock linearly starting from this time. Material in stock is available for consumption by other jobs.- Specified by:
setStartin interfaceIDtoMaterialProduction
-
getEnd
The generated material will be added to the stock linearly until this time. Material in stock is available for consumption by other jobs.- Specified by:
getEndin interfaceIDtoMaterialProduction
-
setEnd
The generated material will be added to the stock linearly until this time. Material in stock is available for consumption by other jobs.- Specified by:
setEndin interfaceIDtoMaterialProduction
-
withMaterial
Name of the material that is produced by the job -
withQuantity
Amount of material that is produced by the job. -
withStart
The generated material will be added to the stock linearly starting from this time. Material in stock is available for consumption by other jobs. -
withEnd
The generated material will be added to the stock linearly until this time. Material in stock is available for consumption by other jobs. -
equals
-
hashCode
public int hashCode()
-