Class ScheduleStartDurationInstant

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

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

    • start

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

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

    • ScheduleStartDurationInstant

      public ScheduleStartDurationInstant()
      Creates a new ScheduleStartDurationInstant
    • ScheduleStartDurationInstant

      public ScheduleStartDurationInstant(ISO8601Instant start, ISO8601Duration duration)
      full parameter constructor.
      Parameters:
      start - .
      duration - .
    • ScheduleStartDurationInstant

      public ScheduleStartDurationInstant(ScheduleStartDurationInstant 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(ScheduleStartDurationInstant 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 ISO8601Instant getStart()
      Returns start Attribute.
      Returns:
      start Attribute
    • setStart

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

      public ScheduleStartDurationInstant withStart(ISO8601Instant pStart)
      fluent setter for start Attribute.
      Parameters:
      pStart - value to set
      Returns:
      ScheduleStartDurationInstant
    • 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 ScheduleStartDurationInstant withDuration(ISO8601Duration pDuration)
      fluent setter for duration Attribute.
      Parameters:
      pDuration - value to set
      Returns:
      ScheduleStartDurationInstant
    • createScheduleStartDurationInstant

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