Class LifecycleSchedule

java.lang.Object
org.ivoa.dm.executionbroker.LifecycleSchedule
All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations

@Embeddable @VoDml(id="execbroker:LifecycleSchedule", role=dataType) public class LifecycleSchedule extends Object implements org.ivoa.vodml.jpa.JPAManipulations
Lifecycle schedule. dataType: LifecycleSchedule
  • Field Details

    • preparing

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

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

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

    • LifecycleSchedule

      public LifecycleSchedule()
      Creates a new LifecycleSchedule
    • LifecycleSchedule

      public LifecycleSchedule(LifecycleStartDurationInstant preparing, LifecycleStartDurationInterval available, LifecycleStartDurationInstant releasing)
      full parameter constructor.
      Parameters:
      preparing - .
      available - .
      releasing - .
    • LifecycleSchedule

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

    • updateUsing

      public void updateUsing(LifecycleSchedule 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 LifecycleStartDurationInstant getPreparing()
      Returns preparing Attribute.
      Returns:
      preparing Attribute
    • setPreparing

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

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

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

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

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

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

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

      public LifecycleSchedule withReleasing(LifecycleStartDurationInstant pReleasing)
      fluent setter for releasing Attribute.
      Parameters:
      pReleasing - value to set
      Returns:
      LifecycleSchedule
    • createLifecycleSchedule

      public static LifecycleSchedule createLifecycleSchedule(Consumer<LifecycleSchedule.LifecycleScheduleBuilder> f)
      create a LifecycleSchedule 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