Class TableSchema.TableSchemaBuilder

java.lang.Object
org.ivoa.dm.registry.vodataservice.TableSchema.TableSchemaBuilder
Enclosing class:
TableSchema

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

    • name

      public String name
      A name for the group of tables. This is used to uniquely identify the group of tables among several groups. If no title is given, this name can be used for display purposes. If there is no appropriate logical name associated with this group, the name should be explicitly set to “default”.
    • title

      public String title
      A descriptive, human-interpretable name for the group of tables. This is used for display purposes. There is no requirement regarding uniqueness. It is useful when there are multiple schemas in the context (e.g., within a tableset; otherwise, the resource title could be used instead).
    • description

      public String description
      A free text description of the group of tables that should explain in general how all of the tables in the group are related.
    • utype

      public String utype
      An identifier for a concept in a data model that the data in this schema as a whole 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).
    • table

      public List<Table> table
      A description of one table.
  • Constructor Details

    • TableSchemaBuilder

      public TableSchemaBuilder()
  • Method Details

    • create

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