Interface IDtoDevice

All Known Implementing Classes:
DtoDevice

public interface IDtoDevice
Details about the capabilities and availabilities of a device (that can execute jobs).
  • Method Details

    • getId

      String getId()
    • setId

      void setId(String id)
    • getDeviceStateDeclaration

      IDtoDeviceStateAspectDeclaration[] getDeviceStateDeclaration()
      The deviceStateAspects of this devices, including initial values. The transitionModel may only use these aspects. If processes used in this device provide aspect keys not listed here, they will not be used. If processes used in this device fail to provide one of the aspect keys listed here, the initial value will be used for that key.#TODO ask LL or we validate and throw some MissingKeyError.
    • setDeviceStateDeclaration

      void setDeviceStateDeclaration(IDtoDeviceStateAspectDeclaration[] deviceStateDeclaration)
      The deviceStateAspects of this devices, including initial values. The transitionModel may only use these aspects. If processes used in this device provide aspect keys not listed here, they will not be used. If processes used in this device fail to provide one of the aspect keys listed here, the initial value will be used for that key.#TODO ask LL or we validate and throw some MissingKeyError.
    • getProcesses

      String[] getProcesses()
      The different processes this Device can execute (OR). May not be empty.#TODO ask LL or add Has to obey the deviceStateDeclaration.
    • setProcesses

      void setProcesses(String[] processes)
      The different processes this Device can execute (OR). May not be empty.#TODO ask LL or add Has to obey the deviceStateDeclaration.
    • getCapacity

      IDtoDeviceCapacity getCapacity()
      If/with how much capacity the device can run its available processes in parallel. If not set, the device can only produce one job at a time.
    • setCapacity

      void setCapacity(IDtoDeviceCapacity capacity)
      If/with how much capacity the device can run its available processes in parallel. If not set, the device can only produce one job at a time.
    • getSetupCostModel

      String getSetupCostModel()
      The parameters for the default setup costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • setSetupCostModel

      void setSetupCostModel(String setupCostModel)
      The parameters for the default setup costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • getSetupDurationModel

      String getSetupDurationModel()
      The parameters for the default setup durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • setSetupDurationModel

      void setSetupDurationModel(String setupDurationModel)
      The parameters for the default setup durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • getTeardownCostModel

      String getTeardownCostModel()
      The parameters for the default teardown costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • setTeardownCostModel

      void setTeardownCostModel(String teardownCostModel)
      The parameters for the default teardown costs for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • getTeardownDurationModel

      String getTeardownDurationModel()
      The parameters for the default teardown durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • setTeardownDurationModel

      void setTeardownDurationModel(String teardownDurationModel)
      The parameters for the default teardown durations for this device. If you provide your own setupCalculator, you can just set some simple model for all devices (and decide how/if you use the default value). May only use the declared deviceStateAspects.
    • getAvailabilities

      IDtoDeviceAvailability[] getAvailabilities()
      Available times on this device. Per default, the device is available always.
    • setAvailabilities

      void setAvailabilities(IDtoDeviceAvailability[] availabilities)
      Available times on this device. Per default, the device is available always.
    • getReservations

      IDtoDeviceReservation[] getReservations()
      Reserved times on this device.
    • setReservations

      void setReservations(IDtoDeviceReservation[] reservations)
      Reserved times on this device.