Class Table.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Table _storedValue
  • Constructor Details

    • Builder

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

      public Builder(_B _parentBuilder, Table _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 Table> _P init(_P _product)
    • withName

      public Table.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 Table.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 Table.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 Table.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.
    • withNrows

      public Table.Builder<_B> withNrows(BigInteger nrows)
      Sets the new value of "nrows" (any previous value will be replaced)
      Parameters:
      nrows - New value of the "nrows" property.
    • addColumns

      public Table.Builder<_B> addColumns(Iterable<? extends TableParam> columns)
      Adds the given items to the value of "columns"
      Parameters:
      columns - Items to add to the value of the "columns" property
    • withColumns

      public Table.Builder<_B> withColumns(Iterable<? extends TableParam> columns)
      Sets the new value of "columns" (any previous value will be replaced)
      Parameters:
      columns - New value of the "columns" property.
    • addColumns

      public Table.Builder<_B> addColumns(TableParam... columns)
      Adds the given items to the value of "columns"
      Parameters:
      columns - Items to add to the value of the "columns" property
    • withColumns

      public Table.Builder<_B> withColumns(TableParam... columns)
      Sets the new value of "columns" (any previous value will be replaced)
      Parameters:
      columns - New value of the "columns" property.
    • addColumns

      public TableParam.Builder<? extends Table.Builder<_B>> addColumns()
      Returns a new builder to build an additional value of the "Columns" property. Use BaseParam.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "Columns" property. Use BaseParam.Builder.end() to return to the current builder.
    • addForeignKeies

      public Table.Builder<_B> addForeignKeies(Iterable<? extends ForeignKey> foreignKeies)
      Adds the given items to the value of "foreignKeies"
      Parameters:
      foreignKeies - Items to add to the value of the "foreignKeies" property
    • withForeignKeies

      public Table.Builder<_B> withForeignKeies(Iterable<? extends ForeignKey> foreignKeies)
      Sets the new value of "foreignKeies" (any previous value will be replaced)
      Parameters:
      foreignKeies - New value of the "foreignKeies" property.
    • addForeignKeies

      public Table.Builder<_B> addForeignKeies(ForeignKey... foreignKeies)
      Adds the given items to the value of "foreignKeies"
      Parameters:
      foreignKeies - Items to add to the value of the "foreignKeies" property
    • withForeignKeies

      public Table.Builder<_B> withForeignKeies(ForeignKey... foreignKeies)
      Sets the new value of "foreignKeies" (any previous value will be replaced)
      Parameters:
      foreignKeies - New value of the "foreignKeies" property.
    • addForeignKeies

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

      public Table.Builder<_B> withType(String type)
      Sets the new value of "type" (any previous value will be replaced)
      Parameters:
      type - New value of the "type" property.
    • build

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

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

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