Class ScheduledExecutionSchedule

java.lang.Object
org.ivoa.dm.executionbroker.ScheduledExecutionSchedule
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations, org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>

@Entity @VoDml(id="execbroker:ScheduledExecutionSchedule", role=objectType) public class ScheduledExecutionSchedule extends Object implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
An Execution Session schedule. objectType: ScheduledExecutionSchedule
  • Field Details

    • _id

      protected Long _id
      inserted database key
    • preparing

      @VoDml(id="execbroker:ScheduledExecutionSchedule.preparing", role=attribute, type="execbroker:ScheduleStartDurationInstant", typeRole=dataType) protected ScheduleStartDurationInstant preparing
      . : Attribute preparing : multiplicity 1
    • available

      @VoDml(id="execbroker:ScheduledExecutionSchedule.available", role=attribute, type="execbroker:ScheduleStartDurationInterval", typeRole=dataType) protected ScheduleStartDurationInterval available
      . : Attribute available : multiplicity 1
    • releasing

      @VoDml(id="execbroker:ScheduledExecutionSchedule.releasing", role=attribute, type="execbroker:ScheduleStartDurationInstant", typeRole=dataType) protected ScheduleStartDurationInstant releasing
      . : Attribute releasing : multiplicity 1
  • Constructor Details

    • ScheduledExecutionSchedule

      public ScheduledExecutionSchedule()
      Creates a new ScheduledExecutionSchedule
    • ScheduledExecutionSchedule

      public ScheduledExecutionSchedule(ScheduleStartDurationInstant preparing, ScheduleStartDurationInterval available, ScheduleStartDurationInstant releasing)
      full parameter constructor.
      Parameters:
      preparing - .
      available - .
      releasing - .
    • ScheduledExecutionSchedule

      public ScheduledExecutionSchedule(ScheduledExecutionSchedule other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
  • Method Details

    • getId

      public Long getId()
      Specified by:
      getId in interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
      Returns:
      the id
    • updateUsing

      public void updateUsing(ScheduledExecutionSchedule other)
      Update this object with the content of the given object. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
    • getPreparing

      public ScheduleStartDurationInstant getPreparing()
      Returns preparing Attribute.
      Returns:
      preparing Attribute
    • setPreparing

      public void setPreparing(ScheduleStartDurationInstant pPreparing)
      Set preparing Attribute.
      Parameters:
      pPreparing - value to set
    • withPreparing

      public ScheduledExecutionSchedule withPreparing(ScheduleStartDurationInstant pPreparing)
      fluent setter for preparing Attribute.
      Parameters:
      pPreparing - value to set
      Returns:
      ScheduledExecutionSchedule
    • getAvailable

      public ScheduleStartDurationInterval getAvailable()
      Returns available Attribute.
      Returns:
      available Attribute
    • setAvailable

      public void setAvailable(ScheduleStartDurationInterval pAvailable)
      Set available Attribute.
      Parameters:
      pAvailable - value to set
    • withAvailable

      public ScheduledExecutionSchedule withAvailable(ScheduleStartDurationInterval pAvailable)
      fluent setter for available Attribute.
      Parameters:
      pAvailable - value to set
      Returns:
      ScheduledExecutionSchedule
    • getReleasing

      public ScheduleStartDurationInstant getReleasing()
      Returns releasing Attribute.
      Returns:
      releasing Attribute
    • setReleasing

      public void setReleasing(ScheduleStartDurationInstant pReleasing)
      Set releasing Attribute.
      Parameters:
      pReleasing - value to set
    • withReleasing

      public ScheduledExecutionSchedule withReleasing(ScheduleStartDurationInstant pReleasing)
      fluent setter for releasing Attribute.
      Parameters:
      pReleasing - value to set
      Returns:
      ScheduledExecutionSchedule
    • createScheduledExecutionSchedule

      create a ScheduledExecutionSchedule in functional builder style.
      Parameters:
      f - the functional builder.
      Returns:
      an object initialized from the builder.
    • forceLoad

      public void forceLoad()
      Specified by:
      forceLoad in interface org.ivoa.vodml.jpa.JPAManipulations
    • delete

      public void delete(jakarta.persistence.EntityManager em)
      Specified by:
      delete in interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>