Class DtoTimedMaterialProduction
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoTimedMaterialProduction
- All Implemented Interfaces:
IDtoTimedMaterialProduction
When is how much of which material produced
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoTimedMaterialProduction(String material, Long quantity, Long start, Long end) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEnd()The material is produced linearly ending at this time.Name of the material that is producedAmount of material that is producedgetStart()The material is produced linearly starting at this time.inthashCode()voidThe material is produced linearly ending at this time.voidsetMaterial(String material) Name of the material that is producedvoidsetQuantity(Long quantity) Amount of material that is producedvoidThe material is produced linearly starting at this time.The material is produced linearly ending at this time.withMaterial(String material) Name of the material that is producedwithQuantity(Long quantity) Amount of material that is producedThe material is produced linearly starting at this time.
-
Constructor Details
-
DtoTimedMaterialProduction
protected DtoTimedMaterialProduction() -
DtoTimedMaterialProduction
-
-
Method Details
-
getMaterial
Name of the material that is produced- Specified by:
getMaterialin interfaceIDtoTimedMaterialProduction
-
setMaterial
Name of the material that is produced- Specified by:
setMaterialin interfaceIDtoTimedMaterialProduction
-
getQuantity
Amount of material that is produced- Specified by:
getQuantityin interfaceIDtoTimedMaterialProduction
-
setQuantity
Amount of material that is produced- Specified by:
setQuantityin interfaceIDtoTimedMaterialProduction
-
getStart
The material is produced linearly starting at this time.- Specified by:
getStartin interfaceIDtoTimedMaterialProduction
-
setStart
The material is produced linearly starting at this time.- Specified by:
setStartin interfaceIDtoTimedMaterialProduction
-
getEnd
The material is produced linearly ending at this time.- Specified by:
getEndin interfaceIDtoTimedMaterialProduction
-
setEnd
The material is produced linearly ending at this time.- Specified by:
setEndin interfaceIDtoTimedMaterialProduction
-
equals
-
hashCode
public int hashCode() -
withMaterial
Name of the material that is produced -
withQuantity
Amount of material that is produced -
withStart
The material is produced linearly starting at this time. -
withEnd
The material is produced linearly ending at this time.
-