Class Schema.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Schema _storedValue
  • Constructor Details

    • Builder

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

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

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

      public Schema.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.
    • addExamples

      public Schema.Builder<_B> addExamples(Iterable<? extends String> examples)
      Adds the given items to the value of "examples"
      Parameters:
      examples - Items to add to the value of the "examples" property
    • withExamples

      public Schema.Builder<_B> withExamples(Iterable<? extends String> examples)
      Sets the new value of "examples" (any previous value will be replaced)
      Parameters:
      examples - New value of the "examples" property.
    • addExamples

      public Schema.Builder<_B> addExamples(String... examples)
      Adds the given items to the value of "examples"
      Parameters:
      examples - Items to add to the value of the "examples" property
    • withExamples

      public Schema.Builder<_B> withExamples(String... examples)
      Sets the new value of "examples" (any previous value will be replaced)
      Parameters:
      examples - New value of the "examples" property.
    • withNamespace

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

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

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

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