Class DtoTimedMaterialConsumption
java.lang.Object
com.vernaio.kayros.engine.v2.api.dto.DtoTimedMaterialConsumption
- All Implemented Interfaces:
IDtoTimedMaterialConsumption
When is how much of which material consumed
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDtoTimedMaterialConsumption(String material, Long quantity, Long start, Long end) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEnd()The material is consumed linearly ending at this time..Name of the material that is consumedAmount of material that is consumedgetStart()The material is consumed linearly starting at this time.inthashCode()voidThe material is consumed linearly ending at this time..voidsetMaterial(String material) Name of the material that is consumedvoidsetQuantity(Long quantity) Amount of material that is consumedvoidThe material is consumed linearly starting at this time.The material is consumed linearly ending at this time..withMaterial(String material) Name of the material that is consumedwithQuantity(Long quantity) Amount of material that is consumedThe material is consumed linearly starting at this time.
-
Constructor Details
-
DtoTimedMaterialConsumption
protected DtoTimedMaterialConsumption() -
DtoTimedMaterialConsumption
-
-
Method Details
-
getMaterial
Name of the material that is consumed- Specified by:
getMaterialin interfaceIDtoTimedMaterialConsumption
-
setMaterial
Name of the material that is consumed- Specified by:
setMaterialin interfaceIDtoTimedMaterialConsumption
-
getQuantity
Amount of material that is consumed- Specified by:
getQuantityin interfaceIDtoTimedMaterialConsumption
-
setQuantity
Amount of material that is consumed- Specified by:
setQuantityin interfaceIDtoTimedMaterialConsumption
-
getStart
The material is consumed linearly starting at this time.- Specified by:
getStartin interfaceIDtoTimedMaterialConsumption
-
setStart
The material is consumed linearly starting at this time.- Specified by:
setStartin interfaceIDtoTimedMaterialConsumption
-
getEnd
The material is consumed linearly ending at this time..- Specified by:
getEndin interfaceIDtoTimedMaterialConsumption
-
setEnd
The material is consumed linearly ending at this time..- Specified by:
setEndin interfaceIDtoTimedMaterialConsumption
-
equals
-
hashCode
public int hashCode() -
withMaterial
Name of the material that is consumed -
withQuantity
Amount of material that is consumed -
withStart
The material is consumed linearly starting at this time. -
withEnd
The material is consumed linearly ending at this time..
-