Class RequestedScheduleBlock

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

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

    • _id

      protected Long _id
      inserted database key
    • requested

      @VoDml(id="execbroker:RequestedScheduleBlock.requested", role=composition, type="execbroker:RequestedScheduleItem", typeRole=objectType) protected RequestedScheduleItem requested
      . composition requested : ( Multiplicity : 1 )
  • Constructor Details

    • RequestedScheduleBlock

      public RequestedScheduleBlock()
      Creates a new RequestedScheduleBlock
    • RequestedScheduleBlock

      public RequestedScheduleBlock(RequestedScheduleItem requested)
      full parameter constructor.
      Parameters:
      requested - .
    • RequestedScheduleBlock

      public RequestedScheduleBlock(RequestedScheduleBlock 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(RequestedScheduleBlock 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.
    • getRequested

      public RequestedScheduleItem getRequested()
      Returns requested Attribute.
      Returns:
      requested Attribute
    • setRequested

      public void setRequested(RequestedScheduleItem pRequested)
      Set requested Attribute.
      Parameters:
      pRequested - value to set
    • withRequested

      public RequestedScheduleBlock withRequested(RequestedScheduleItem pRequested)
      fluent setter for requested Attribute.
      Parameters:
      pRequested - value to set
      Returns:
      RequestedScheduleBlock
    • createRequestedScheduleBlock

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