Class LifecycleStartDurationInterval

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

@Embeddable @VoDml(id="execbroker:LifecycleStartDurationInterval", role=dataType) public class LifecycleStartDurationInterval extends Object implements org.ivoa.vodml.jpa.JPAManipulations
A lifecycle interval and duration. dataType: LifecycleStartDurationInterval
  • Field Details

    • start

      @VoDml(id="execbroker:LifecycleStartDurationInterval.start", role=attribute, type="execbroker:ISO8601Interval", typeRole=primitiveType) protected ISO8601Interval start
      . : Attribute start : multiplicity 1
    • duration

      @VoDml(id="execbroker:LifecycleStartDurationInterval.duration", role=attribute, type="execbroker:ISO8601Duration", typeRole=primitiveType) protected ISO8601Duration duration
      . : Attribute duration : multiplicity 1
  • Constructor Details

    • LifecycleStartDurationInterval

      public LifecycleStartDurationInterval()
      Creates a new LifecycleStartDurationInterval
    • LifecycleStartDurationInterval

      public LifecycleStartDurationInterval(ISO8601Interval start, ISO8601Duration duration)
      full parameter constructor.
      Parameters:
      start - .
      duration - .
    • LifecycleStartDurationInterval

      public LifecycleStartDurationInterval(LifecycleStartDurationInterval 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(LifecycleStartDurationInterval 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.
    • getStart

      public ISO8601Interval getStart()
      Returns start Attribute.
      Returns:
      start Attribute
    • setStart

      public void setStart(ISO8601Interval pStart)
      Set start Attribute.
      Parameters:
      pStart - value to set
    • withStart

      fluent setter for start Attribute.
      Parameters:
      pStart - value to set
      Returns:
      LifecycleStartDurationInterval
    • getDuration

      public ISO8601Duration getDuration()
      Returns duration Attribute.
      Returns:
      duration Attribute
    • setDuration

      public void setDuration(ISO8601Duration pDuration)
      Set duration Attribute.
      Parameters:
      pDuration - value to set
    • withDuration

      public LifecycleStartDurationInterval withDuration(ISO8601Duration pDuration)
      fluent setter for duration Attribute.
      Parameters:
      pDuration - value to set
      Returns:
      LifecycleStartDurationInterval
    • createLifecycleStartDurationInterval

      create a LifecycleStartDurationInterval 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