Class Language.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Language _storedValue
  • Constructor Details

    • Builder

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

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

      public Language.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.
    • addVersions

      public Language.Builder<_B> addVersions(Iterable<? extends Version> versions)
      Adds the given items to the value of "versions"
      Parameters:
      versions - Items to add to the value of the "versions" property
    • withVersions

      public Language.Builder<_B> withVersions(Iterable<? extends Version> versions)
      Sets the new value of "versions" (any previous value will be replaced)
      Parameters:
      versions - New value of the "versions" property.
    • addVersions

      public Language.Builder<_B> addVersions(Version... versions)
      Adds the given items to the value of "versions"
      Parameters:
      versions - Items to add to the value of the "versions" property
    • withVersions

      public Language.Builder<_B> withVersions(Version... versions)
      Sets the new value of "versions" (any previous value will be replaced)
      Parameters:
      versions - New value of the "versions" property.
    • addVersions

      public Version.Builder<? extends Language.Builder<_B>> addVersions()
      Returns a new builder to build an additional value of the "Versions" property. Use Version.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "Versions" property. Use Version.Builder.end() to return to the current builder.
    • withDescription

      public Language.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.
    • addLanguageFeatures

      public Language.Builder<_B> addLanguageFeatures(Iterable<? extends LanguageFeatureList> languageFeatures)
      Adds the given items to the value of "languageFeatures"
      Parameters:
      languageFeatures - Items to add to the value of the "languageFeatures" property
    • withLanguageFeatures

      public Language.Builder<_B> withLanguageFeatures(Iterable<? extends LanguageFeatureList> languageFeatures)
      Sets the new value of "languageFeatures" (any previous value will be replaced)
      Parameters:
      languageFeatures - New value of the "languageFeatures" property.
    • addLanguageFeatures

      public Language.Builder<_B> addLanguageFeatures(LanguageFeatureList... languageFeatures)
      Adds the given items to the value of "languageFeatures"
      Parameters:
      languageFeatures - Items to add to the value of the "languageFeatures" property
    • withLanguageFeatures

      public Language.Builder<_B> withLanguageFeatures(LanguageFeatureList... languageFeatures)
      Sets the new value of "languageFeatures" (any previous value will be replaced)
      Parameters:
      languageFeatures - New value of the "languageFeatures" property.
    • addLanguageFeatures

      public LanguageFeatureList.Builder<? extends Language.Builder<_B>> addLanguageFeatures()
      Returns a new builder to build an additional value of the "LanguageFeatures" property. Use LanguageFeatureList.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "LanguageFeatures" property. Use LanguageFeatureList.Builder.end() to return to the current builder.
    • build

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

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

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