Class SetType.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final SetType _storedValue
  • Constructor Details

    • Builder

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

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

      public SetType.Builder<_B> withSetSpec(String setSpec)
      Sets the new value of "setSpec" (any previous value will be replaced)
      Parameters:
      setSpec - New value of the "setSpec" property.
    • withSetName

      public SetType.Builder<_B> withSetName(String setName)
      Sets the new value of "setName" (any previous value will be replaced)
      Parameters:
      setName - New value of the "setName" property.
    • addSetDescriptions

      public SetType.Builder<_B> addSetDescriptions(Iterable<? extends DescriptionType> setDescriptions)
      Adds the given items to the value of "setDescriptions"
      Parameters:
      setDescriptions - Items to add to the value of the "setDescriptions" property
    • withSetDescriptions

      public SetType.Builder<_B> withSetDescriptions(Iterable<? extends DescriptionType> setDescriptions)
      Sets the new value of "setDescriptions" (any previous value will be replaced)
      Parameters:
      setDescriptions - New value of the "setDescriptions" property.
    • addSetDescriptions

      public SetType.Builder<_B> addSetDescriptions(DescriptionType... setDescriptions)
      Adds the given items to the value of "setDescriptions"
      Parameters:
      setDescriptions - Items to add to the value of the "setDescriptions" property
    • withSetDescriptions

      public SetType.Builder<_B> withSetDescriptions(DescriptionType... setDescriptions)
      Sets the new value of "setDescriptions" (any previous value will be replaced)
      Parameters:
      setDescriptions - New value of the "setDescriptions" property.
    • addSetDescriptions

      public DescriptionType.Builder<? extends SetType.Builder<_B>> addSetDescriptions()
      Returns a new builder to build an additional value of the "SetDescriptions" property. Use DescriptionType.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "SetDescriptions" property. Use DescriptionType.Builder.end() to return to the current builder.
    • build

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

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

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