Class DataCollection.DataCollectionBuilder

java.lang.Object
org.ivoa.dm.registry.vodataservice.DataCollection.DataCollectionBuilder
Enclosing class:
DataCollection

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

    • facility

      public List<ResourceName> facility
      the observatory or facility used to collect the data contained or managed by this resource.
    • instrument

      public List<ResourceName> instrument
      the Instrument used to collect the data contain or managed by a resource.
    • rights

      public List<Rights> rights
      Information about rights held in and over the resource. This should be repeated for all Rights values that apply.
    • format

      public List<Format> format
      The physical or digital manifestation of the information supported by a resource. This should use RFC 2046 media (“MIME”) types for network-retrievable, digital data. Non-RFC 2046 values could be used for media that cannot be retrieved over the network.
    • coverage

      public Coverage coverage
      Extent of the content of the resource over space, time, and frequency.
    • tableset

      public TableSet tableset
      A description of the tables that are part of this collection. Each schema name must be unique within a tableset.
    • accessURL

      public AccessURL accessURL
      The URL that can be used to download the data contained in this data collection.
    • validationLevel

      public List<Validation> validationLevel
      A numeric grade describing the quality of the resource description, when applicable, to be used to indicate the confidence an end-user can put in the resource as part of a VO application or research study. See VOResource:Validation for an explanation of the allowed levels. Note that when this resource is a Service, this grade applies to the core set of metadata. Capability and interface metadata, as well as the compliance of the service with the interface standard, is rated by validationLevel tag in the capability element (see the VOResource:Service complex type).
    • title

      public String title
      the full name given to the resource .
    • shortName

      public ShortName shortName
      A short name or abbreviation given to the resource. This name will be used where brief annotations for the resource name are required. Applications may use to refer to this resource in a compact display. One word or a few letters is recommended. No more than sixteen characters are allowed.
    • identifier

      public IdentifierURI identifier
      Unambiguous reference to the resource conforming to the IVOA standard for identifiers .
    • altIdentifier

      public List<String> altIdentifier
      A reference to this resource in a non-IVOA identifier scheme, e.g., DOI or bibcode. Always use the an URI scheme here, e.g., doi:10.1016/j.epsl.2011.11.037. For bibcodes, use a form like bibcode:2008ivoa.spec.0222P.
    • curation

      public Curation curation
      Information regarding the general curation of the resource .
    • content

      public Content content
      Information regarding the general content of the resource .
    • created

      public UTCTimestamp created
      The UTC date and time this resource metadata description was created. This timestamp must not be in the future. This time is not required to be accurate; it should be at least accurate to the day. Any non-significant time fields should be set to zero.
    • updated

      public UTCTimestamp updated
      The UTC date this resource metadata description was last updated. This timestamp must not be in the future. This time is not required to be accurate; it should be at least accurate to the day. Any non-significant time fields should be set to zero.
    • status

      public Resource_status status
      a tag indicating whether this resource is believed to be still actively maintained.
    • version

      public String version
      The VOResource XML schema version against which this instance was written. Implementors should set this to the value of the version attribute of their schema's root (xs:schema) element. Clients may assume version 1.0 if this attribute is missing.
  • Constructor Details

    • DataCollectionBuilder

      public DataCollectionBuilder()
  • Method Details

    • create

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