Class TableParam.TableParamBuilder

java.lang.Object
org.ivoa.dm.registry.vodataservice.TableParam.TableParamBuilder
Enclosing class:
TableParam

public static class TableParam.TableParamBuilder extends Object
A builder class for TableParam, mainly for use in the functional builder pattern.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A type of data contained in the column .
    A free-text description of a parameter's or column's contents.
    A keyword representing traits of the column.
    The name of the parameter or column.
    If true, the meaning and use of this parameter is reserved and defined by a standard model.
    The name of a unified content descriptor that describes the scientific content of the parameter.
    The unit associated with the values in the parameter or column.
    An identifier for a concept in a data model that the data in this schema represent.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create a TableParam from this builder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dataType

      public TableDataType dataType
      A type of data contained in the column .
    • flag

      public List<String> flag
      A keyword representing traits of the column. Recognized values include “indexed”, “primary”, and “nullable”. While other values are allowed, the following semantics is defined by this specification: indexed – The column has an index on it for faster search against its values; primary – The values column in the column represent in total or in part a primary key for its table; nullable – the column may contain null or empty values.
    • std

      public Boolean std
      If true, the meaning and use of this parameter is reserved and defined by a standard model. If false, it represents a parameter specific to the data described If not provided, then the value is unknown.
    • name

      public String name
      The name of the parameter or column.
    • description

      public String description
      A free-text description of a parameter's or column's contents.
    • unit

      public String unit
      The unit associated with the values in the parameter or column.
    • ucd

      public String ucd
      The name of a unified content descriptor that describes the scientific content of the parameter. There are no requirements for compliance with any particular UCD standard.
    • utype

      public String utype
      An identifier for a concept in a data model that the data in this schema represent. The form of the utype string depends on the data model; common forms are sequences of dotted identifiers (e.g., in SSA) or URIs (e.g., in RegTAP).
  • Constructor Details

    • TableParamBuilder

      public TableParamBuilder()
  • Method Details

    • create

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