Class ForeignKey.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final ForeignKey _storedValue
  • Constructor Details

    • Builder

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

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

      public ForeignKey.Builder<_B> withTargetTable(String targetTable)
      Sets the new value of "targetTable" (any previous value will be replaced)
      Parameters:
      targetTable - New value of the "targetTable" property.
    • addFkColumns

      public ForeignKey.Builder<_B> addFkColumns(Iterable<? extends FKColumn> fkColumns)
      Adds the given items to the value of "fkColumns"
      Parameters:
      fkColumns - Items to add to the value of the "fkColumns" property
    • withFkColumns

      public ForeignKey.Builder<_B> withFkColumns(Iterable<? extends FKColumn> fkColumns)
      Sets the new value of "fkColumns" (any previous value will be replaced)
      Parameters:
      fkColumns - New value of the "fkColumns" property.
    • addFkColumns

      public ForeignKey.Builder<_B> addFkColumns(FKColumn... fkColumns)
      Adds the given items to the value of "fkColumns"
      Parameters:
      fkColumns - Items to add to the value of the "fkColumns" property
    • withFkColumns

      public ForeignKey.Builder<_B> withFkColumns(FKColumn... fkColumns)
      Sets the new value of "fkColumns" (any previous value will be replaced)
      Parameters:
      fkColumns - New value of the "fkColumns" property.
    • addFkColumns

      public FKColumn.Builder<? extends ForeignKey.Builder<_B>> addFkColumns()
      Returns a new builder to build an additional value of the "FkColumns" property. Use FKColumn.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "FkColumns" property. Use FKColumn.Builder.end() to return to the current builder.
    • withDescription

      public ForeignKey.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 ForeignKey.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.
    • build

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

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

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