Class Resource.ResourceBuilder

java.lang.Object
org.ivoa.dm.regtap.Resource.ResourceBuilder
Enclosing class:
Resource

public static class Resource.ResourceBuilder extends Object
A builder class for Resource, mainly for use in the functional builder pattern.
  • Field Details

    • ivoid

      public String ivoid
      Unambiguous reference to the resource conforming to the IVOA standard for identifiers.
    • res_type

      public String res_type
      Resource type (something like vg:authority, vs:catalogservice, etc).
    • created

      public Date created
      The UTC date and time this resource metadata description was created.
    • short_name

      public String short_name
      A short name or abbreviation given to something, for presentation in space-constrained fields (up to 16 characters).
    • res_title

      public String res_title
      The full name given to the resource.
    • updated

      public Date updated
      The UTC date this resource metadata description was last updated.
    • content_level

      public String content_level
      A hash-separated list of content levels specifying the intended audience.
    • res_description

      public String res_description
      An account of the nature of the resource.
    • reference_url

      public String reference_url
      URL pointing to a human-readable document describing this resource.
    • creator_seq

      public String creator_seq
      The creator(s) of the resource in the order given by the resource record author, separated by semicolons.
    • content_type

      public String content_type
      A hash-separated list of natures or genres of the content of the resource.
    • source_format

      public String source_format
      The format of source_value. This, in particular, can be ``bibcode''.
    • source_value

      public String source_value
      A bibliographic reference from which the present resource is derived or extracted.
    • res_version

      public String res_version
      Label associated with creation or availability of a version of a resource.
    • region_of_regard

      public 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.
    • waveband

      public String waveband
      A hash-separated list of regions of the electro-magnetic spectrum that the resource's spectral coverage overlaps with.
    • rights

      public String rights
      A statement of usage conditions (license, attribution, embargo, etc).
    • rights_uri

      public String rights_uri
      A URI identifying a license the data is made available under.
    • validation

      public List<Validation> validation
      validation level.
    • altId

      public List<AltIdentifier> altId
      altIds.
    • role

      public List<Role> role
      roles.
    • subject

      public List<Subject> subject
      subjects.
    • date

      public List<ResDate> date
      dates.
    • relationship

      public List<Relationship> relationship
      relationships.
    • spatialCoverage

      public List<STCSpatial> spatialCoverage
      STC spatial coverage.
    • temporalCoverage

      public List<STCTemporal> temporalCoverage
      STC Temporal.
    • spectralCoverage

      public List<STCSpectral> spectralCoverage
      STC Spectral.
    • capability

      public List<Capability> capability
      capabilities.
    • interface_

      public List<Interface> interface_
      interfaces.
    • param

      public List<InterfaceParam> param
      params.
    • schema

      public List<Schema> schema
      schema.
    • table

      public List<Table> table
      tables.
    • column

      public List<Column> column
      columns.
    • tapTables

      public List<TAPTable> tapTables
      TAP tables.
    • detail

      public List<Detail> detail
      detail.
  • Constructor Details

    • ResourceBuilder

      public ResourceBuilder()
  • Method Details

    • create

      public Resource create()
      create a Resource from this builder.
      Returns:
      an object initialized from the builder.