Class OfferSetRequest

All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations, org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>

@Entity @VoDml(id="execbroker:OfferSetRequest", role=objectType) public class OfferSetRequest extends ExecutionRequestComponents implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A request for a set of offers for an execution. objectType: OfferSetRequest
  • Field Details

    • schedule

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

  • Method Details

    • copyMe

      public ExecutionRequestComponents copyMe()
      make a clone of the object taking into account current polymorhic type.
      Overrides:
      copyMe in class ExecutionRequestComponents
      Returns:
      the cloned object.
    • updateUsing

      public void updateUsing(OfferSetRequest 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.
    • getSchedule

      public RequestedScheduleBlock getSchedule()
      Returns schedule Attribute.
      Returns:
      schedule Attribute
    • setSchedule

      public void setSchedule(RequestedScheduleBlock pSchedule)
      Set schedule Attribute.
      Parameters:
      pSchedule - value to set
    • withSchedule

      public OfferSetRequest withSchedule(RequestedScheduleBlock pSchedule)
      fluent setter for schedule Attribute.
      Parameters:
      pSchedule - value to set
      Returns:
      OfferSetRequest
    • createOfferSetRequest

      public static OfferSetRequest createOfferSetRequest(Consumer<OfferSetRequest.OfferSetRequestBuilder> f)
      create a OfferSetRequest 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
      Overrides:
      forceLoad in class ExecutionRequestComponents
    • delete

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