Class Detail

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

@Entity @VoDml(id="RegTAP:Detail", role=objectType) public class Detail extends Object implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
XPath-value pairs for members of resource or capability and their derivations that are less used and/or from VOResource extensions. objectType: Detail
  • Field Details

    • _id

      protected Long _id
      inserted database key
    • cap_index

      @VoDml(id="RegTAP:Detail.cap_index", role=attribute, type="ivoa:nonnegativeInteger", typeRole=primitiveType) protected Integer cap_index
      The index of the parent capability; if NULL the xpath-value pair describes a member of the entire resource. : Attribute cap_index : multiplicity 0..1
    • detail_xpath

      @VoDml(id="RegTAP:Detail.detail_xpath", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String detail_xpath
      The xpath of the data item. : Attribute detail_xpath : multiplicity 1
    • detail_value

      @VoDml(id="RegTAP:Detail.detail_value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String detail_value
      (Atomic) value of the member. : Attribute detail_value : multiplicity 1
  • Constructor Details

    • Detail

      public Detail()
      Creates a new Detail
    • Detail

      public Detail(Integer cap_index, String detail_xpath, String detail_value)
      full parameter constructor.
      Parameters:
      cap_index - The index of the parent capability; if NULL the xpath-value pair describes a member of the entire resource.
      detail_xpath - The xpath of the data item.
      detail_value - (Atomic) value of the member.
    • Detail

      public Detail(Detail 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(Detail 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.
    • getCap_index

      public Integer getCap_index()
      Returns cap_index Attribute.
      Returns:
      cap_index Attribute
    • setCap_index

      public void setCap_index(Integer pCap_index)
      Set cap_index Attribute.
      Parameters:
      pCap_index - value to set
    • withCap_index

      public Detail withCap_index(Integer pCap_index)
      fluent setter for cap_index Attribute.
      Parameters:
      pCap_index - value to set
      Returns:
      Detail
    • getDetail_xpath

      public String getDetail_xpath()
      Returns detail_xpath Attribute.
      Returns:
      detail_xpath Attribute
    • setDetail_xpath

      public void setDetail_xpath(String pDetail_xpath)
      Set detail_xpath Attribute.
      Parameters:
      pDetail_xpath - value to set
    • withDetail_xpath

      public Detail withDetail_xpath(String pDetail_xpath)
      fluent setter for detail_xpath Attribute.
      Parameters:
      pDetail_xpath - value to set
      Returns:
      Detail
    • getDetail_value

      public String getDetail_value()
      Returns detail_value Attribute.
      Returns:
      detail_value Attribute
    • setDetail_value

      public void setDetail_value(String pDetail_value)
      Set detail_value Attribute.
      Parameters:
      pDetail_value - value to set
    • withDetail_value

      public Detail withDetail_value(String pDetail_value)
      fluent setter for detail_value Attribute.
      Parameters:
      pDetail_value - value to set
      Returns:
      Detail
    • createDetail

      public static Detail createDetail(Consumer<Detail.DetailBuilder> f)
      create a Detail 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>