Class Schema.SchemaBuilder

java.lang.Object
org.ivoa.dm.tapschema.Schema.SchemaBuilder
Enclosing class:
Schema

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

    • schema_name

      public String schema_name
      The name of the schema .
    • utype

      public String utype
      utype.
    • description

      public String description
      description.
    • schema_index

      public Integer schema_index
      used to recommend table ordering for clients. Clients may order by index (ascending) so lower index items would appear earlier in a listing.
    • tables

      public List<Table> tables
      the tables.
  • Constructor Details

    • SchemaBuilder

      public SchemaBuilder()
  • Method Details

    • create

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