Class IvoaDataLinkItem

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

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

    • _id

      protected Long _id
      inserted database key
    • LinkID

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

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

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

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

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

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

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

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

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

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

    • IvoaDataLinkItem

      public IvoaDataLinkItem()
      Creates a new IvoaDataLinkItem
    • IvoaDataLinkItem

      public IvoaDataLinkItem(String LinkID, String access_url, String service_def, String error_message, String description, String semantics, String content_type, Integer content_length, String content_qualifier, String local_semantics, String link_auth, String link_authorized)
      full parameter constructor.
      Parameters:
      LinkID - .
      access_url - .
      service_def - .
      error_message - .
      description - .
      semantics - .
      content_type - .
      content_length - .
      content_qualifier - .
      local_semantics - .
      link_auth - .
      link_authorized - .
    • IvoaDataLinkItem

      public IvoaDataLinkItem(IvoaDataLinkItem 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(IvoaDataLinkItem 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.
    • getLinkID

      public String getLinkID()
      Returns LinkID Attribute.
      Returns:
      LinkID Attribute
    • setLinkID

      public void setLinkID(String pLinkID)
      Set LinkID Attribute.
      Parameters:
      pLinkID - value to set
    • withLinkID

      public IvoaDataLinkItem withLinkID(String pLinkID)
      fluent setter for LinkID Attribute.
      Parameters:
      pLinkID - value to set
      Returns:
      IvoaDataLinkItem
    • 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 IvoaDataLinkItem withAccess_url(String pAccess_url)
      fluent setter for access_url Attribute.
      Parameters:
      pAccess_url - value to set
      Returns:
      IvoaDataLinkItem
    • getService_def

      public String getService_def()
      Returns service_def Attribute.
      Returns:
      service_def Attribute
    • setService_def

      public void setService_def(String pService_def)
      Set service_def Attribute.
      Parameters:
      pService_def - value to set
    • withService_def

      public IvoaDataLinkItem withService_def(String pService_def)
      fluent setter for service_def Attribute.
      Parameters:
      pService_def - value to set
      Returns:
      IvoaDataLinkItem
    • getError_message

      public String getError_message()
      Returns error_message Attribute.
      Returns:
      error_message Attribute
    • setError_message

      public void setError_message(String pError_message)
      Set error_message Attribute.
      Parameters:
      pError_message - value to set
    • withError_message

      public IvoaDataLinkItem withError_message(String pError_message)
      fluent setter for error_message Attribute.
      Parameters:
      pError_message - value to set
      Returns:
      IvoaDataLinkItem
    • getDescription

      public String getDescription()
      Returns description Attribute.
      Returns:
      description Attribute
    • setDescription

      public void setDescription(String pDescription)
      Set description Attribute.
      Parameters:
      pDescription - value to set
    • withDescription

      public IvoaDataLinkItem withDescription(String pDescription)
      fluent setter for description Attribute.
      Parameters:
      pDescription - value to set
      Returns:
      IvoaDataLinkItem
    • getSemantics

      public String getSemantics()
      Returns semantics Attribute.
      Returns:
      semantics Attribute
    • setSemantics

      public void setSemantics(String pSemantics)
      Set semantics Attribute.
      Parameters:
      pSemantics - value to set
    • withSemantics

      public IvoaDataLinkItem withSemantics(String pSemantics)
      fluent setter for semantics Attribute.
      Parameters:
      pSemantics - value to set
      Returns:
      IvoaDataLinkItem
    • getContent_type

      public String getContent_type()
      Returns content_type Attribute.
      Returns:
      content_type Attribute
    • setContent_type

      public void setContent_type(String pContent_type)
      Set content_type Attribute.
      Parameters:
      pContent_type - value to set
    • withContent_type

      public IvoaDataLinkItem withContent_type(String pContent_type)
      fluent setter for content_type Attribute.
      Parameters:
      pContent_type - value to set
      Returns:
      IvoaDataLinkItem
    • getContent_length

      public Integer getContent_length()
      Returns content_length Attribute.
      Returns:
      content_length Attribute
    • setContent_length

      public void setContent_length(Integer pContent_length)
      Set content_length Attribute.
      Parameters:
      pContent_length - value to set
    • withContent_length

      public IvoaDataLinkItem withContent_length(Integer pContent_length)
      fluent setter for content_length Attribute.
      Parameters:
      pContent_length - value to set
      Returns:
      IvoaDataLinkItem
    • getContent_qualifier

      public String getContent_qualifier()
      Returns content_qualifier Attribute.
      Returns:
      content_qualifier Attribute
    • setContent_qualifier

      public void setContent_qualifier(String pContent_qualifier)
      Set content_qualifier Attribute.
      Parameters:
      pContent_qualifier - value to set
    • withContent_qualifier

      public IvoaDataLinkItem withContent_qualifier(String pContent_qualifier)
      fluent setter for content_qualifier Attribute.
      Parameters:
      pContent_qualifier - value to set
      Returns:
      IvoaDataLinkItem
    • getLocal_semantics

      public String getLocal_semantics()
      Returns local_semantics Attribute.
      Returns:
      local_semantics Attribute
    • setLocal_semantics

      public void setLocal_semantics(String pLocal_semantics)
      Set local_semantics Attribute.
      Parameters:
      pLocal_semantics - value to set
    • withLocal_semantics

      public IvoaDataLinkItem withLocal_semantics(String pLocal_semantics)
      fluent setter for local_semantics Attribute.
      Parameters:
      pLocal_semantics - value to set
      Returns:
      IvoaDataLinkItem
    • createIvoaDataLinkItem

      public static IvoaDataLinkItem createIvoaDataLinkItem(Consumer<IvoaDataLinkItem.IvoaDataLinkItemBuilder> f)
      create a IvoaDataLinkItem 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>