Interface IDtoInsufficientMaterialJobDisqualification
- All Superinterfaces:
IDtoAbstractJobDisqualification
- All Known Implementing Classes:
DtoInsufficientMaterialJobDisqualification
public interface IDtoInsufficientMaterialJobDisqualification
extends IDtoAbstractJobDisqualification
(has to be decided in engine) This Disqualification triggers if a productionJob cannot be produced because it consumes materials that are not available or produced in sufficient quantity
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionthe problematic material.String[]The ids of the disqualified jobs.getType()Type discriminatorvoidsetMaterial(String material) the problematic material.voidsetProductionJobs(String[] productionJobs) The ids of the disqualified jobs.
-
Field Details
-
_DISCRIMINATOR_TYPE_NAME
- See Also:
-
-
Method Details
-
getType
String getType()Type discriminator- Specified by:
getTypein interfaceIDtoAbstractJobDisqualification
-
getProductionJobs
String[] getProductionJobs()The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
getProductionJobsin interfaceIDtoAbstractJobDisqualification
-
setProductionJobs
The ids of the disqualified jobs. There will be no result allocation(s) for these.- Specified by:
setProductionJobsin interfaceIDtoAbstractJobDisqualification
-
getMaterial
String getMaterial()the problematic material. if a job consumes more than one problematic material only the first tested will be given here. Materials are tested in a topolgical order of the job-material-graph -
setMaterial
the problematic material. if a job consumes more than one problematic material only the first tested will be given here. Materials are tested in a topolgical order of the job-material-graph
-