Class TableSchema.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.resource.dataservice.TableSchema.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Enclosing class:
TableSchema

public static class TableSchema.Builder<_B> extends Object implements com.kscs.util.jaxb.Buildable
  • Field Details

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final TableSchema _storedValue
  • Constructor Details

    • Builder

      public Builder(_B _parentBuilder, TableSchema _other, boolean _copy)
    • Builder

      public Builder(_B _parentBuilder, TableSchema _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
  • Method Details

    • end

      public _B end()
    • init

      protected <_P extends TableSchema> _P init(_P _product)
    • withName

      public TableSchema.Builder<_B> withName(String name)
      Sets the new value of "name" (any previous value will be replaced)
      Parameters:
      name - New value of the "name" property.
    • withTitle

      public TableSchema.Builder<_B> withTitle(String title)
      Sets the new value of "title" (any previous value will be replaced)
      Parameters:
      title - New value of the "title" property.
    • withDescription

      public TableSchema.Builder<_B> withDescription(String description)
      Sets the new value of "description" (any previous value will be replaced)
      Parameters:
      description - New value of the "description" property.
    • withUtype

      public TableSchema.Builder<_B> withUtype(String utype)
      Sets the new value of "utype" (any previous value will be replaced)
      Parameters:
      utype - New value of the "utype" property.
    • addTables

      public TableSchema.Builder<_B> addTables(Iterable<? extends Table> tables)
      Adds the given items to the value of "tables"
      Parameters:
      tables - Items to add to the value of the "tables" property
    • withTables

      public TableSchema.Builder<_B> withTables(Iterable<? extends Table> tables)
      Sets the new value of "tables" (any previous value will be replaced)
      Parameters:
      tables - New value of the "tables" property.
    • addTables

      public TableSchema.Builder<_B> addTables(Table... tables)
      Adds the given items to the value of "tables"
      Parameters:
      tables - Items to add to the value of the "tables" property
    • withTables

      public TableSchema.Builder<_B> withTables(Table... tables)
      Sets the new value of "tables" (any previous value will be replaced)
      Parameters:
      tables - New value of the "tables" property.
    • addTables

      public Table.Builder<? extends TableSchema.Builder<_B>> addTables()
      Returns a new builder to build an additional value of the "Tables" property. Use Table.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "Tables" property. Use Table.Builder.end() to return to the current builder.
    • build

      public TableSchema build()
      Specified by:
      build in interface com.kscs.util.jaxb.Buildable
    • copyOf

      public TableSchema.Builder<_B> copyOf(TableSchema _other)
    • copyOf

      public TableSchema.Builder<_B> copyOf(TableSchema.Builder _other)