Class IvoaObsCoreItem

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

@Entity @VoDml(id="execbroker:IvoaObsCoreItem", role=objectType) public class IvoaObsCoreItem extends Object implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A row of ObsCore metadata about the resource. objectType: IvoaObsCoreItem
  • Field Details

    • _id

      protected Long _id
      inserted database key
    • obs_id

      @VoDml(id="execbroker:IvoaObsCoreItem.obs_id", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String obs_id
      . : Attribute obs_id : multiplicity 1
    • obs_collection

      @VoDml(id="execbroker:IvoaObsCoreItem.obs_collection", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String obs_collection
      . : Attribute obs_collection : multiplicity 1
    • obs_publisher_did

      @VoDml(id="execbroker:IvoaObsCoreItem.obs_publisher_did", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String obs_publisher_did
      . : Attribute obs_publisher_did : multiplicity 1
    • obs_creator_did

      @VoDml(id="execbroker:IvoaObsCoreItem.obs_creator_did", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String obs_creator_did
      . : Attribute obs_creator_did : multiplicity 1
    • dataproduct_type

      @VoDml(id="execbroker:IvoaObsCoreItem.dataproduct_type", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String dataproduct_type
      . : Attribute dataproduct_type : multiplicity 1
    • calib_level

      @VoDml(id="execbroker:IvoaObsCoreItem.calib_level", role=attribute, type="ivoa:integer", typeRole=primitiveType) protected Integer calib_level
      . : Attribute calib_level : multiplicity 1
    • access_url

      @VoDml(id="execbroker:IvoaObsCoreItem.access_url", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String access_url
      . : Attribute access_url : multiplicity 1
    • access_format

      @VoDml(id="execbroker:IvoaObsCoreItem.access_format", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String access_format
      . : Attribute access_format : multiplicity 1
  • Constructor Details

    • IvoaObsCoreItem

      public IvoaObsCoreItem()
      Creates a new IvoaObsCoreItem
    • IvoaObsCoreItem

      public IvoaObsCoreItem(String obs_id, String obs_collection, String obs_publisher_did, String obs_creator_did, String dataproduct_type, Integer calib_level, String access_url, String access_format)
      full parameter constructor.
      Parameters:
      obs_id - .
      obs_collection - .
      obs_publisher_did - .
      obs_creator_did - .
      dataproduct_type - .
      calib_level - .
      access_url - .
      access_format - .
    • IvoaObsCoreItem

      public IvoaObsCoreItem(IvoaObsCoreItem 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(IvoaObsCoreItem 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.
    • getObs_id

      public String getObs_id()
      Returns obs_id Attribute.
      Returns:
      obs_id Attribute
    • setObs_id

      public void setObs_id(String pObs_id)
      Set obs_id Attribute.
      Parameters:
      pObs_id - value to set
    • withObs_id

      public IvoaObsCoreItem withObs_id(String pObs_id)
      fluent setter for obs_id Attribute.
      Parameters:
      pObs_id - value to set
      Returns:
      IvoaObsCoreItem
    • getObs_collection

      public String getObs_collection()
      Returns obs_collection Attribute.
      Returns:
      obs_collection Attribute
    • setObs_collection

      public void setObs_collection(String pObs_collection)
      Set obs_collection Attribute.
      Parameters:
      pObs_collection - value to set
    • withObs_collection

      public IvoaObsCoreItem withObs_collection(String pObs_collection)
      fluent setter for obs_collection Attribute.
      Parameters:
      pObs_collection - value to set
      Returns:
      IvoaObsCoreItem
    • getObs_publisher_did

      public String getObs_publisher_did()
      Returns obs_publisher_did Attribute.
      Returns:
      obs_publisher_did Attribute
    • setObs_publisher_did

      public void setObs_publisher_did(String pObs_publisher_did)
      Set obs_publisher_did Attribute.
      Parameters:
      pObs_publisher_did - value to set
    • withObs_publisher_did

      public IvoaObsCoreItem withObs_publisher_did(String pObs_publisher_did)
      fluent setter for obs_publisher_did Attribute.
      Parameters:
      pObs_publisher_did - value to set
      Returns:
      IvoaObsCoreItem
    • getObs_creator_did

      public String getObs_creator_did()
      Returns obs_creator_did Attribute.
      Returns:
      obs_creator_did Attribute
    • setObs_creator_did

      public void setObs_creator_did(String pObs_creator_did)
      Set obs_creator_did Attribute.
      Parameters:
      pObs_creator_did - value to set
    • withObs_creator_did

      public IvoaObsCoreItem withObs_creator_did(String pObs_creator_did)
      fluent setter for obs_creator_did Attribute.
      Parameters:
      pObs_creator_did - value to set
      Returns:
      IvoaObsCoreItem
    • getDataproduct_type

      public String getDataproduct_type()
      Returns dataproduct_type Attribute.
      Returns:
      dataproduct_type Attribute
    • setDataproduct_type

      public void setDataproduct_type(String pDataproduct_type)
      Set dataproduct_type Attribute.
      Parameters:
      pDataproduct_type - value to set
    • withDataproduct_type

      public IvoaObsCoreItem withDataproduct_type(String pDataproduct_type)
      fluent setter for dataproduct_type Attribute.
      Parameters:
      pDataproduct_type - value to set
      Returns:
      IvoaObsCoreItem
    • getCalib_level

      public Integer getCalib_level()
      Returns calib_level Attribute.
      Returns:
      calib_level Attribute
    • setCalib_level

      public void setCalib_level(Integer pCalib_level)
      Set calib_level Attribute.
      Parameters:
      pCalib_level - value to set
    • withCalib_level

      public IvoaObsCoreItem withCalib_level(Integer pCalib_level)
      fluent setter for calib_level Attribute.
      Parameters:
      pCalib_level - value to set
      Returns:
      IvoaObsCoreItem
    • getAccess_url

      public String getAccess_url()
      Returns access_url Attribute.
      Returns:
      access_url Attribute
    • setAccess_url

      public void setAccess_url(String pAccess_url)
      Set access_url Attribute.
      Parameters:
      pAccess_url - value to set
    • withAccess_url

      public IvoaObsCoreItem withAccess_url(String pAccess_url)
      fluent setter for access_url Attribute.
      Parameters:
      pAccess_url - value to set
      Returns:
      IvoaObsCoreItem
    • getAccess_format

      public String getAccess_format()
      Returns access_format Attribute.
      Returns:
      access_format Attribute
    • setAccess_format

      public void setAccess_format(String pAccess_format)
      Set access_format Attribute.
      Parameters:
      pAccess_format - value to set
    • withAccess_format

      public IvoaObsCoreItem withAccess_format(String pAccess_format)
      fluent setter for access_format Attribute.
      Parameters:
      pAccess_format - value to set
      Returns:
      IvoaObsCoreItem
    • createIvoaObsCoreItem

      public static IvoaObsCoreItem createIvoaObsCoreItem(Consumer<IvoaObsCoreItem.IvoaObsCoreItemBuilder> f)
      create a IvoaObsCoreItem 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>