Class BaseParam.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final BaseParam _storedValue
  • Constructor Details

    • Builder

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

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

      public BaseParam.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.
    • withDescription

      public BaseParam.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.
    • withUnit

      public BaseParam.Builder<_B> withUnit(String unit)
      Sets the new value of "unit" (any previous value will be replaced)
      Parameters:
      unit - New value of the "unit" property.
    • withUcd

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

      public BaseParam.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 BaseParam build()
      Specified by:
      build in interface com.kscs.util.jaxb.Buildable
    • copyOf

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

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