Class Resource

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

@Entity @VoDml(id="RegTAP:Resource", role=objectType) public class Resource extends Object implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<String>
The resources (like services, data collections, organizations) present in this registry. objectType: Resource
  • Field Details

    • ivoid

      @VoDml(id="RegTAP:Resource.ivoid", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String ivoid
      Unambiguous reference to the resource conforming to the IVOA standard for identifiers. : Attribute ivoid : multiplicity 1
    • res_type

      @VoDml(id="RegTAP:Resource.res_type", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String res_type
      Resource type (something like vg:authority, vs:catalogservice, etc). : Attribute res_type : multiplicity 1
    • created

      @VoDml(id="RegTAP:Resource.created", role=attribute, type="ivoa:datetime", typeRole=primitiveType) protected Date created
      The UTC date and time this resource metadata description was created. : Attribute created : multiplicity 1
    • short_name

      @VoDml(id="RegTAP:Resource.short_name", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String short_name
      A short name or abbreviation given to something, for presentation in space-constrained fields (up to 16 characters). : Attribute short_name : multiplicity 0..1
    • res_title

      @VoDml(id="RegTAP:Resource.res_title", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String res_title
      The full name given to the resource. : Attribute res_title : multiplicity 1
    • updated

      @VoDml(id="RegTAP:Resource.updated", role=attribute, type="ivoa:datetime", typeRole=primitiveType) protected Date updated
      The UTC date this resource metadata description was last updated. : Attribute updated : multiplicity 1
    • content_level

      @VoDml(id="RegTAP:Resource.content_level", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String content_level
      A hash-separated list of content levels specifying the intended audience. : Attribute content_level : multiplicity 1
    • res_description

      @VoDml(id="RegTAP:Resource.res_description", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String res_description
      An account of the nature of the resource. : Attribute res_description : multiplicity 1
    • reference_url

      @VoDml(id="RegTAP:Resource.reference_url", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String reference_url
      URL pointing to a human-readable document describing this resource. : Attribute reference_url : multiplicity 1
    • creator_seq

      @VoDml(id="RegTAP:Resource.creator_seq", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String creator_seq
      The creator(s) of the resource in the order given by the resource record author, separated by semicolons. : Attribute creator_seq : multiplicity 0..1
    • content_type

      @VoDml(id="RegTAP:Resource.content_type", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String content_type
      A hash-separated list of natures or genres of the content of the resource. : Attribute content_type : multiplicity 0..1
    • source_format

      @VoDml(id="RegTAP:Resource.source_format", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String source_format
      The format of source_value. This, in particular, can be ``bibcode''. : Attribute source_format : multiplicity 0..1
    • source_value

      @VoDml(id="RegTAP:Resource.source_value", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String source_value
      A bibliographic reference from which the present resource is derived or extracted. : Attribute source_value : multiplicity 0..1
    • res_version

      @VoDml(id="RegTAP:Resource.res_version", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String res_version
      Label associated with creation or availability of a version of a resource. : Attribute res_version : multiplicity 0..1
    • region_of_regard

      @VoDml(id="RegTAP:Resource.region_of_regard", role=attribute, type="ivoa:real", typeRole=primitiveType) protected Double region_of_regard
      A single numeric value representing the angle, given in decimal degrees, by which a positional query against this resource should be ``blurred'' in order to get an appropriate match. : Attribute region_of_regard : multiplicity 0..1
    • waveband

      @VoDml(id="RegTAP:Resource.waveband", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String waveband
      A hash-separated list of regions of the electro-magnetic spectrum that the resource's spectral coverage overlaps with. : Attribute waveband : multiplicity 0..1
    • rights

      @VoDml(id="RegTAP:Resource.rights", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String rights
      A statement of usage conditions (license, attribution, embargo, etc). : Attribute rights : multiplicity 0..1
    • rights_uri

      @VoDml(id="RegTAP:Resource.rights_uri", role=attribute, type="ivoa:string", typeRole=primitiveType) protected String rights_uri
      A URI identifying a license the data is made available under. : Attribute rights_uri : multiplicity 0..1
    • validation

      @VoDml(id="RegTAP:Resource.validation", role=composition, type="RegTAP:Validation", typeRole=objectType) protected List<Validation> validation
      validation level. composition validation : ( Multiplicity : 0..* )
    • altId

      @VoDml(id="RegTAP:Resource.altId", role=composition, type="RegTAP:AltIdentifier", typeRole=objectType) protected List<AltIdentifier> altId
      altIds. composition altId : ( Multiplicity : 0..* )
    • role

      @VoDml(id="RegTAP:Resource.role", role=composition, type="RegTAP:Role", typeRole=objectType) protected List<Role> role
      roles. composition role : ( Multiplicity : 0..* )
    • subject

      @VoDml(id="RegTAP:Resource.subject", role=composition, type="RegTAP:Subject", typeRole=objectType) protected List<Subject> subject
      subjects. composition subject : ( Multiplicity : 0..* )
    • date

      @VoDml(id="RegTAP:Resource.date", role=composition, type="RegTAP:ResDate", typeRole=objectType) protected List<ResDate> date
      dates. composition date : ( Multiplicity : 0..* )
    • relationship

      @VoDml(id="RegTAP:Resource.relationship", role=composition, type="RegTAP:Relationship", typeRole=objectType) protected List<Relationship> relationship
      relationships. composition relationship : ( Multiplicity : 0..* )
    • spatialCoverage

      @VoDml(id="RegTAP:Resource.spatialCoverage", role=composition, type="RegTAP:STCSpatial", typeRole=objectType) protected List<STCSpatial> spatialCoverage
      STC spatial coverage. composition spatialCoverage : ( Multiplicity : 0..* )
    • temporalCoverage

      @VoDml(id="RegTAP:Resource.temporalCoverage", role=composition, type="RegTAP:STCTemporal", typeRole=objectType) protected List<STCTemporal> temporalCoverage
      STC Temporal. composition temporalCoverage : ( Multiplicity : 0..* )
    • spectralCoverage

      @VoDml(id="RegTAP:Resource.spectralCoverage", role=composition, type="RegTAP:STCSpectral", typeRole=objectType) protected List<STCSpectral> spectralCoverage
      STC Spectral. composition spectralCoverage : ( Multiplicity : 0..* )
    • capability

      @VoDml(id="RegTAP:Resource.capability", role=composition, type="RegTAP:Capability", typeRole=objectType) protected List<Capability> capability
      capabilities. composition capability : ( Multiplicity : 0..* )
    • interface_

      @VoDml(id="RegTAP:Resource.interface", role=composition, type="RegTAP:Interface", typeRole=objectType) protected List<Interface> interface_
      interfaces. composition interface : ( Multiplicity : 0..* )
    • param

      @VoDml(id="RegTAP:Resource.param", role=composition, type="RegTAP:InterfaceParam", typeRole=objectType) protected List<InterfaceParam> param
      params. composition param : ( Multiplicity : 0..* )
    • schema

      @VoDml(id="RegTAP:Resource.schema", role=composition, type="RegTAP:Schema", typeRole=objectType) protected List<Schema> schema
      schema. composition schema : ( Multiplicity : 0..* )
    • table

      @VoDml(id="RegTAP:Resource.table", role=composition, type="RegTAP:Table", typeRole=objectType) protected List<Table> table
      tables. composition table : ( Multiplicity : 0..* )
    • column

      @VoDml(id="RegTAP:Resource.column", role=composition, type="RegTAP:Column", typeRole=objectType) protected List<Column> column
      columns. composition column : ( Multiplicity : 0..* )
    • tapTables

      @VoDml(id="RegTAP:Resource.tapTables", role=composition, type="RegTAP:TAPTable", typeRole=objectType) protected List<TAPTable> tapTables
      TAP tables. composition tapTables : ( Multiplicity : 0..* )
    • detail

      @VoDml(id="RegTAP:Resource.detail", role=composition, type="RegTAP:Detail", typeRole=objectType) protected List<Detail> detail
      detail. composition detail : ( Multiplicity : 0..* )
  • Constructor Details

    • Resource

      public Resource()
      Creates a new Resource
    • Resource

      public Resource(String ivoid, String res_type, Date created, String short_name, String res_title, Date updated, String content_level, String res_description, String reference_url, String creator_seq, String content_type, String source_format, String source_value, String res_version, Double region_of_regard, String waveband, String rights, String rights_uri, List<Validation> validation, List<AltIdentifier> altId, List<Role> role, List<Subject> subject, List<ResDate> date, List<Relationship> relationship, List<STCSpatial> spatialCoverage, List<STCTemporal> temporalCoverage, List<STCSpectral> spectralCoverage, List<Capability> capability, List<Interface> interface_, List<InterfaceParam> param, List<Schema> schema, List<Table> table, List<Column> column, List<TAPTable> tapTables, List<Detail> detail)
      full parameter constructor.
      Parameters:
      ivoid - Unambiguous reference to the resource conforming to the IVOA standard for identifiers.
      res_type - Resource type (something like vg:authority, vs:catalogservice, etc).
      created - The UTC date and time this resource metadata description was created.
      short_name - A short name or abbreviation given to something, for presentation in space-constrained fields (up to 16 characters).
      res_title - The full name given to the resource.
      updated - The UTC date this resource metadata description was last updated.
      content_level - A hash-separated list of content levels specifying the intended audience.
      res_description - An account of the nature of the resource.
      reference_url - URL pointing to a human-readable document describing this resource.
      creator_seq - The creator(s) of the resource in the order given by the resource record author, separated by semicolons.
      content_type - A hash-separated list of natures or genres of the content of the resource.
      source_format - The format of source_value. This, in particular, can be ``bibcode''.
      source_value - A bibliographic reference from which the present resource is derived or extracted.
      res_version - Label associated with creation or availability of a version of a resource.
      region_of_regard - A single numeric value representing the angle, given in decimal degrees, by which a positional query against this resource should be ``blurred'' in order to get an appropriate match.
      waveband - A hash-separated list of regions of the electro-magnetic spectrum that the resource's spectral coverage overlaps with.
      rights - A statement of usage conditions (license, attribution, embargo, etc).
      rights_uri - A URI identifying a license the data is made available under.
      validation - validation level.
      altId - altIds.
      role - roles.
      subject - subjects.
      date - dates.
      relationship - relationships.
      spatialCoverage - STC spatial coverage.
      temporalCoverage - STC Temporal.
      spectralCoverage - STC Spectral.
      capability - capabilities.
      interface_ - interfaces.
      param - params.
      schema - schema.
      table - tables.
      column - columns.
      tapTables - TAP tables.
      detail - detail.
    • Resource

      public Resource(Resource other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
  • Method Details

    • updateUsing

      public void updateUsing(Resource 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.
    • getIvoid

      public String getIvoid()
      Returns ivoid Attribute.
      Returns:
      ivoid Attribute
    • setIvoid

      public void setIvoid(String pIvoid)
      Set ivoid Attribute.
      Parameters:
      pIvoid - value to set
    • withIvoid

      public Resource withIvoid(String pIvoid)
      fluent setter for ivoid Attribute.
      Parameters:
      pIvoid - value to set
      Returns:
      Resource
    • getRes_type

      public String getRes_type()
      Returns res_type Attribute.
      Returns:
      res_type Attribute
    • setRes_type

      public void setRes_type(String pRes_type)
      Set res_type Attribute.
      Parameters:
      pRes_type - value to set
    • withRes_type

      public Resource withRes_type(String pRes_type)
      fluent setter for res_type Attribute.
      Parameters:
      pRes_type - value to set
      Returns:
      Resource
    • getCreated

      public Date getCreated()
      Returns created Attribute.
      Returns:
      created Attribute
    • setCreated

      public void setCreated(Date pCreated)
      Set created Attribute.
      Parameters:
      pCreated - value to set
    • withCreated

      public Resource withCreated(Date pCreated)
      fluent setter for created Attribute.
      Parameters:
      pCreated - value to set
      Returns:
      Resource
    • getShort_name

      public String getShort_name()
      Returns short_name Attribute.
      Returns:
      short_name Attribute
    • setShort_name

      public void setShort_name(String pShort_name)
      Set short_name Attribute.
      Parameters:
      pShort_name - value to set
    • withShort_name

      public Resource withShort_name(String pShort_name)
      fluent setter for short_name Attribute.
      Parameters:
      pShort_name - value to set
      Returns:
      Resource
    • getRes_title

      public String getRes_title()
      Returns res_title Attribute.
      Returns:
      res_title Attribute
    • setRes_title

      public void setRes_title(String pRes_title)
      Set res_title Attribute.
      Parameters:
      pRes_title - value to set
    • withRes_title

      public Resource withRes_title(String pRes_title)
      fluent setter for res_title Attribute.
      Parameters:
      pRes_title - value to set
      Returns:
      Resource
    • getUpdated

      public Date getUpdated()
      Returns updated Attribute.
      Returns:
      updated Attribute
    • setUpdated

      public void setUpdated(Date pUpdated)
      Set updated Attribute.
      Parameters:
      pUpdated - value to set
    • withUpdated

      public Resource withUpdated(Date pUpdated)
      fluent setter for updated Attribute.
      Parameters:
      pUpdated - value to set
      Returns:
      Resource
    • getContent_level

      public String getContent_level()
      Returns content_level Attribute.
      Returns:
      content_level Attribute
    • setContent_level

      public void setContent_level(String pContent_level)
      Set content_level Attribute.
      Parameters:
      pContent_level - value to set
    • withContent_level

      public Resource withContent_level(String pContent_level)
      fluent setter for content_level Attribute.
      Parameters:
      pContent_level - value to set
      Returns:
      Resource
    • getRes_description

      public String getRes_description()
      Returns res_description Attribute.
      Returns:
      res_description Attribute
    • setRes_description

      public void setRes_description(String pRes_description)
      Set res_description Attribute.
      Parameters:
      pRes_description - value to set
    • withRes_description

      public Resource withRes_description(String pRes_description)
      fluent setter for res_description Attribute.
      Parameters:
      pRes_description - value to set
      Returns:
      Resource
    • getReference_url

      public String getReference_url()
      Returns reference_url Attribute.
      Returns:
      reference_url Attribute
    • setReference_url

      public void setReference_url(String pReference_url)
      Set reference_url Attribute.
      Parameters:
      pReference_url - value to set
    • withReference_url

      public Resource withReference_url(String pReference_url)
      fluent setter for reference_url Attribute.
      Parameters:
      pReference_url - value to set
      Returns:
      Resource
    • getCreator_seq

      public String getCreator_seq()
      Returns creator_seq Attribute.
      Returns:
      creator_seq Attribute
    • setCreator_seq

      public void setCreator_seq(String pCreator_seq)
      Set creator_seq Attribute.
      Parameters:
      pCreator_seq - value to set
    • withCreator_seq

      public Resource withCreator_seq(String pCreator_seq)
      fluent setter for creator_seq Attribute.
      Parameters:
      pCreator_seq - value to set
      Returns:
      Resource
    • 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 Resource withContent_type(String pContent_type)
      fluent setter for content_type Attribute.
      Parameters:
      pContent_type - value to set
      Returns:
      Resource
    • getSource_format

      public String getSource_format()
      Returns source_format Attribute.
      Returns:
      source_format Attribute
    • setSource_format

      public void setSource_format(String pSource_format)
      Set source_format Attribute.
      Parameters:
      pSource_format - value to set
    • withSource_format

      public Resource withSource_format(String pSource_format)
      fluent setter for source_format Attribute.
      Parameters:
      pSource_format - value to set
      Returns:
      Resource
    • getSource_value

      public String getSource_value()
      Returns source_value Attribute.
      Returns:
      source_value Attribute
    • setSource_value

      public void setSource_value(String pSource_value)
      Set source_value Attribute.
      Parameters:
      pSource_value - value to set
    • withSource_value

      public Resource withSource_value(String pSource_value)
      fluent setter for source_value Attribute.
      Parameters:
      pSource_value - value to set
      Returns:
      Resource
    • getRes_version

      public String getRes_version()
      Returns res_version Attribute.
      Returns:
      res_version Attribute
    • setRes_version

      public void setRes_version(String pRes_version)
      Set res_version Attribute.
      Parameters:
      pRes_version - value to set
    • withRes_version

      public Resource withRes_version(String pRes_version)
      fluent setter for res_version Attribute.
      Parameters:
      pRes_version - value to set
      Returns:
      Resource
    • getRegion_of_regard

      public Double getRegion_of_regard()
      Returns region_of_regard Attribute.
      Returns:
      region_of_regard Attribute
    • setRegion_of_regard

      public void setRegion_of_regard(Double pRegion_of_regard)
      Set region_of_regard Attribute.
      Parameters:
      pRegion_of_regard - value to set
    • withRegion_of_regard

      public Resource withRegion_of_regard(Double pRegion_of_regard)
      fluent setter for region_of_regard Attribute.
      Parameters:
      pRegion_of_regard - value to set
      Returns:
      Resource
    • getWaveband

      public String getWaveband()
      Returns waveband Attribute.
      Returns:
      waveband Attribute
    • setWaveband

      public void setWaveband(String pWaveband)
      Set waveband Attribute.
      Parameters:
      pWaveband - value to set
    • withWaveband

      public Resource withWaveband(String pWaveband)
      fluent setter for waveband Attribute.
      Parameters:
      pWaveband - value to set
      Returns:
      Resource
    • getRights

      public String getRights()
      Returns rights Attribute.
      Returns:
      rights Attribute
    • setRights

      public void setRights(String pRights)
      Set rights Attribute.
      Parameters:
      pRights - value to set
    • withRights

      public Resource withRights(String pRights)
      fluent setter for rights Attribute.
      Parameters:
      pRights - value to set
      Returns:
      Resource
    • getRights_uri

      public String getRights_uri()
      Returns rights_uri Attribute.
      Returns:
      rights_uri Attribute
    • setRights_uri

      public void setRights_uri(String pRights_uri)
      Set rights_uri Attribute.
      Parameters:
      pRights_uri - value to set
    • withRights_uri

      public Resource withRights_uri(String pRights_uri)
      fluent setter for rights_uri Attribute.
      Parameters:
      pRights_uri - value to set
      Returns:
      Resource
    • getValidation

      public List<Validation> getValidation()
      Returns validation composition as an immutable list.
      Returns:
      validation composition.
    • setValidation

      public void setValidation(List<Validation> pValidation)
      Defines whole validation composition.
      Parameters:
      pValidation - composition to set.
    • addToValidation

      public void addToValidation(Validation p)
      Add a org.ivoa.dm.regtap.Validation to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Validation to add
    • removeFromValidation

      public void removeFromValidation(Validation p)
      Remove a org.ivoa.dm.regtap.Validation from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Validation to remove
    • replaceInValidation

      public void replaceInValidation(Validation _p)
      update a org.ivoa.dm.regtap.Validation in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Validation to update the match is done via the database key
    • getAltId

      public List<AltIdentifier> getAltId()
      Returns altId composition as an immutable list.
      Returns:
      altId composition.
    • setAltId

      public void setAltId(List<AltIdentifier> pAltId)
      Defines whole altId composition.
      Parameters:
      pAltId - composition to set.
    • addToAltId

      public void addToAltId(AltIdentifier p)
      Add a org.ivoa.dm.regtap.AltIdentifier to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.AltIdentifier to add
    • removeFromAltId

      public void removeFromAltId(AltIdentifier p)
      Remove a org.ivoa.dm.regtap.AltIdentifier from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.AltIdentifier to remove
    • replaceInAltId

      public void replaceInAltId(AltIdentifier _p)
      update a org.ivoa.dm.regtap.AltIdentifier in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.AltIdentifier to update the match is done via the database key
    • getRole

      public List<Role> getRole()
      Returns role composition as an immutable list.
      Returns:
      role composition.
    • setRole

      public void setRole(List<Role> pRole)
      Defines whole role composition.
      Parameters:
      pRole - composition to set.
    • addToRole

      public void addToRole(Role p)
      Add a org.ivoa.dm.regtap.Role to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Role to add
    • removeFromRole

      public void removeFromRole(Role p)
      Remove a org.ivoa.dm.regtap.Role from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Role to remove
    • replaceInRole

      public void replaceInRole(Role _p)
      update a org.ivoa.dm.regtap.Role in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Role to update the match is done via the database key
    • getSubject

      public List<Subject> getSubject()
      Returns subject composition as an immutable list.
      Returns:
      subject composition.
    • setSubject

      public void setSubject(List<Subject> pSubject)
      Defines whole subject composition.
      Parameters:
      pSubject - composition to set.
    • addToSubject

      public void addToSubject(Subject p)
      Add a org.ivoa.dm.regtap.Subject to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Subject to add
    • removeFromSubject

      public void removeFromSubject(Subject p)
      Remove a org.ivoa.dm.regtap.Subject from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Subject to remove
    • replaceInSubject

      public void replaceInSubject(Subject _p)
      update a org.ivoa.dm.regtap.Subject in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Subject to update the match is done via the database key
    • getDate

      public List<ResDate> getDate()
      Returns date composition as an immutable list.
      Returns:
      date composition.
    • setDate

      public void setDate(List<ResDate> pDate)
      Defines whole date composition.
      Parameters:
      pDate - composition to set.
    • addToDate

      public void addToDate(ResDate p)
      Add a org.ivoa.dm.regtap.ResDate to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.ResDate to add
    • removeFromDate

      public void removeFromDate(ResDate p)
      Remove a org.ivoa.dm.regtap.ResDate from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.ResDate to remove
    • replaceInDate

      public void replaceInDate(ResDate _p)
      update a org.ivoa.dm.regtap.ResDate in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.ResDate to update the match is done via the database key
    • getRelationship

      public List<Relationship> getRelationship()
      Returns relationship composition as an immutable list.
      Returns:
      relationship composition.
    • setRelationship

      public void setRelationship(List<Relationship> pRelationship)
      Defines whole relationship composition.
      Parameters:
      pRelationship - composition to set.
    • addToRelationship

      public void addToRelationship(Relationship p)
      Add a org.ivoa.dm.regtap.Relationship to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Relationship to add
    • removeFromRelationship

      public void removeFromRelationship(Relationship p)
      Remove a org.ivoa.dm.regtap.Relationship from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Relationship to remove
    • replaceInRelationship

      public void replaceInRelationship(Relationship _p)
      update a org.ivoa.dm.regtap.Relationship in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Relationship to update the match is done via the database key
    • getSpatialCoverage

      public List<STCSpatial> getSpatialCoverage()
      Returns spatialCoverage composition as an immutable list.
      Returns:
      spatialCoverage composition.
    • setSpatialCoverage

      public void setSpatialCoverage(List<STCSpatial> pSpatialCoverage)
      Defines whole spatialCoverage composition.
      Parameters:
      pSpatialCoverage - composition to set.
    • addToSpatialCoverage

      public void addToSpatialCoverage(STCSpatial p)
      Add a org.ivoa.dm.regtap.STCSpatial to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.STCSpatial to add
    • removeFromSpatialCoverage

      public void removeFromSpatialCoverage(STCSpatial p)
      Remove a org.ivoa.dm.regtap.STCSpatial from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.STCSpatial to remove
    • replaceInSpatialCoverage

      public void replaceInSpatialCoverage(STCSpatial _p)
      update a org.ivoa.dm.regtap.STCSpatial in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.STCSpatial to update the match is done via the database key
    • getTemporalCoverage

      public List<STCTemporal> getTemporalCoverage()
      Returns temporalCoverage composition as an immutable list.
      Returns:
      temporalCoverage composition.
    • setTemporalCoverage

      public void setTemporalCoverage(List<STCTemporal> pTemporalCoverage)
      Defines whole temporalCoverage composition.
      Parameters:
      pTemporalCoverage - composition to set.
    • addToTemporalCoverage

      public void addToTemporalCoverage(STCTemporal p)
      Add a org.ivoa.dm.regtap.STCTemporal to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.STCTemporal to add
    • removeFromTemporalCoverage

      public void removeFromTemporalCoverage(STCTemporal p)
      Remove a org.ivoa.dm.regtap.STCTemporal from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.STCTemporal to remove
    • replaceInTemporalCoverage

      public void replaceInTemporalCoverage(STCTemporal _p)
      update a org.ivoa.dm.regtap.STCTemporal in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.STCTemporal to update the match is done via the database key
    • getSpectralCoverage

      public List<STCSpectral> getSpectralCoverage()
      Returns spectralCoverage composition as an immutable list.
      Returns:
      spectralCoverage composition.
    • setSpectralCoverage

      public void setSpectralCoverage(List<STCSpectral> pSpectralCoverage)
      Defines whole spectralCoverage composition.
      Parameters:
      pSpectralCoverage - composition to set.
    • addToSpectralCoverage

      public void addToSpectralCoverage(STCSpectral p)
      Add a org.ivoa.dm.regtap.STCSpectral to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.STCSpectral to add
    • removeFromSpectralCoverage

      public void removeFromSpectralCoverage(STCSpectral p)
      Remove a org.ivoa.dm.regtap.STCSpectral from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.STCSpectral to remove
    • replaceInSpectralCoverage

      public void replaceInSpectralCoverage(STCSpectral _p)
      update a org.ivoa.dm.regtap.STCSpectral in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.STCSpectral to update the match is done via the database key
    • getCapability

      public List<Capability> getCapability()
      Returns capability composition as an immutable list.
      Returns:
      capability composition.
    • setCapability

      public void setCapability(List<Capability> pCapability)
      Defines whole capability composition.
      Parameters:
      pCapability - composition to set.
    • addToCapability

      public void addToCapability(Capability p)
      Add a org.ivoa.dm.regtap.Capability to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Capability to add
    • removeFromCapability

      public void removeFromCapability(Capability p)
      Remove a org.ivoa.dm.regtap.Capability from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Capability to remove
    • replaceInCapability

      public void replaceInCapability(Capability _p)
      update a org.ivoa.dm.regtap.Capability in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Capability to update the match is done via the database key
    • getInterface

      public List<Interface> getInterface()
      Returns interface composition as an immutable list.
      Returns:
      interface composition.
    • setInterface

      public void setInterface(List<Interface> pInterface)
      Defines whole interface composition.
      Parameters:
      pInterface - composition to set.
    • addToInterface

      public void addToInterface(Interface p)
      Add a org.ivoa.dm.regtap.Interface to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Interface to add
    • removeFromInterface

      public void removeFromInterface(Interface p)
      Remove a org.ivoa.dm.regtap.Interface from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Interface to remove
    • replaceInInterface

      public void replaceInInterface(Interface _p)
      update a org.ivoa.dm.regtap.Interface in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Interface to update the match is done via the database key
    • getParam

      public List<InterfaceParam> getParam()
      Returns param composition as an immutable list.
      Returns:
      param composition.
    • setParam

      public void setParam(List<InterfaceParam> pParam)
      Defines whole param composition.
      Parameters:
      pParam - composition to set.
    • addToParam

      public void addToParam(InterfaceParam p)
      Add a org.ivoa.dm.regtap.InterfaceParam to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.InterfaceParam to add
    • removeFromParam

      public void removeFromParam(InterfaceParam p)
      Remove a org.ivoa.dm.regtap.InterfaceParam from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.InterfaceParam to remove
    • replaceInParam

      public void replaceInParam(InterfaceParam _p)
      update a org.ivoa.dm.regtap.InterfaceParam in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.InterfaceParam to update the match is done via the database key
    • getSchema

      public List<Schema> getSchema()
      Returns schema composition as an immutable list.
      Returns:
      schema composition.
    • setSchema

      public void setSchema(List<Schema> pSchema)
      Defines whole schema composition.
      Parameters:
      pSchema - composition to set.
    • addToSchema

      public void addToSchema(Schema p)
      Add a org.ivoa.dm.regtap.Schema to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Schema to add
    • removeFromSchema

      public void removeFromSchema(Schema p)
      Remove a org.ivoa.dm.regtap.Schema from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Schema to remove
    • replaceInSchema

      public void replaceInSchema(Schema _p)
      update a org.ivoa.dm.regtap.Schema in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Schema to update the match is done via the database key
    • getTable

      public List<Table> getTable()
      Returns table composition as an immutable list.
      Returns:
      table composition.
    • setTable

      public void setTable(List<Table> pTable)
      Defines whole table composition.
      Parameters:
      pTable - composition to set.
    • addToTable

      public void addToTable(Table p)
      Add a org.ivoa.dm.regtap.Table to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Table to add
    • removeFromTable

      public void removeFromTable(Table p)
      Remove a org.ivoa.dm.regtap.Table from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Table to remove
    • replaceInTable

      public void replaceInTable(Table _p)
      update a org.ivoa.dm.regtap.Table in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Table to update the match is done via the database key
    • getColumn

      public List<Column> getColumn()
      Returns column composition as an immutable list.
      Returns:
      column composition.
    • setColumn

      public void setColumn(List<Column> pColumn)
      Defines whole column composition.
      Parameters:
      pColumn - composition to set.
    • addToColumn

      public void addToColumn(Column p)
      Add a org.ivoa.dm.regtap.Column to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Column to add
    • removeFromColumn

      public void removeFromColumn(Column p)
      Remove a org.ivoa.dm.regtap.Column from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Column to remove
    • replaceInColumn

      public void replaceInColumn(Column _p)
      update a org.ivoa.dm.regtap.Column in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Column to update the match is done via the database key
    • getTapTables

      public List<TAPTable> getTapTables()
      Returns tapTables composition as an immutable list.
      Returns:
      tapTables composition.
    • setTapTables

      public void setTapTables(List<TAPTable> pTapTables)
      Defines whole tapTables composition.
      Parameters:
      pTapTables - composition to set.
    • addToTapTables

      public void addToTapTables(TAPTable p)
      Add a org.ivoa.dm.regtap.TAPTable to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.TAPTable to add
    • removeFromTapTables

      public void removeFromTapTables(TAPTable p)
      Remove a org.ivoa.dm.regtap.TAPTable from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.TAPTable to remove
    • replaceInTapTables

      public void replaceInTapTables(TAPTable _p)
      update a org.ivoa.dm.regtap.TAPTable in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.TAPTable to update the match is done via the database key
    • getDetail

      public List<Detail> getDetail()
      Returns detail composition as an immutable list.
      Returns:
      detail composition.
    • setDetail

      public void setDetail(List<Detail> pDetail)
      Defines whole detail composition.
      Parameters:
      pDetail - composition to set.
    • addToDetail

      public void addToDetail(Detail p)
      Add a org.ivoa.dm.regtap.Detail to the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Detail to add
    • removeFromDetail

      public void removeFromDetail(Detail p)
      Remove a org.ivoa.dm.regtap.Detail from the composition.
      Parameters:
      p - org.ivoa.dm.regtap.Detail to remove
    • replaceInDetail

      public void replaceInDetail(Detail _p)
      update a org.ivoa.dm.regtap.Detail in the composition.
      Parameters:
      _p - org.ivoa.dm.regtap.Detail to update the match is done via the database key
    • getId

      public String getId()
      return the database key id. Note that this is the same as attribute ivoid.
      Specified by:
      getId in interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType<String>
      Returns:
      the id
    • createResource

      public static Resource createResource(Consumer<Resource.ResourceBuilder> f)
      create a Resource 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<String>