Interface IDtoProductionJob

All Superinterfaces:
IDtoAbstractJob
All Known Implementing Classes:
DtoProductionJob

public interface IDtoProductionJob extends IDtoAbstractJob
A production job that runs some task and may depend on other jobs. It will lead to one disqualifiedJob (if it could not be produced) or one allocation (containing the chosen time, device etc.) in result.
  • Field Details

  • Method Details

    • getType

      String getType()
      Type discriminator
      Specified by:
      getType in interface IDtoAbstractJob
    • getId

      String getId()
      Unique identifier among all DtoAbstractJobs.
      Specified by:
      getId in interface IDtoAbstractJob
    • setId

      void setId(String id)
      Unique identifier among all DtoAbstractJobs.
      Specified by:
      setId in interface IDtoAbstractJob
    • getTask

      Details about the task that must be run to complete this job.
    • setTask

      void setTask(IDtoTaskRequirement task)
      Details about the task that must be run to complete this job.
    • getCapacityRequirement

      IDtoCapacityRequirement getCapacityRequirement()
      The capacity that this job blocks (if the device has a capacity). If nil, the whole device is blocked.
    • setCapacityRequirement

      void setCapacityRequirement(IDtoCapacityRequirement capacityRequirement)
      The capacity that this job blocks (if the device has a capacity). If nil, the whole device is blocked.
    • getTimeBoundaries

      IDtoTimeBoundary[] getTimeBoundaries()
      Constraints on some times inside this job, like an earliest start time or a latest end time.
    • setTimeBoundaries

      void setTimeBoundaries(IDtoTimeBoundary[] timeBoundaries)
      Constraints on some times inside this job, like an earliest start time or a latest end time.
    • getProducedMaterials

      IDtoMaterialProduction[] getProducedMaterials()
      Quantities of materials that are generated by this job.
    • setProducedMaterials

      void setProducedMaterials(IDtoMaterialProduction[] producedMaterials)
      Quantities of materials that are generated by this job.
    • getConsumedMaterials

      IDtoMaterialConsumption[] getConsumedMaterials()
      Quantities of materials that are consumed by this job.
    • setConsumedMaterials

      void setConsumedMaterials(IDtoMaterialConsumption[] consumedMaterials)
      Quantities of materials that are consumed by this job.