Class Capabilities.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.vosi.capabilities.Capabilities.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Enclosing class:
Capabilities

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Capabilities _storedValue
  • Constructor Details

    • Builder

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

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

      public Capabilities.Builder<_B> addCapabilities(Iterable<? extends Capability> capabilities)
      Adds the given items to the value of "capabilities"
      Parameters:
      capabilities - Items to add to the value of the "capabilities" property
    • withCapabilities

      public Capabilities.Builder<_B> withCapabilities(Iterable<? extends Capability> capabilities)
      Sets the new value of "capabilities" (any previous value will be replaced)
      Parameters:
      capabilities - New value of the "capabilities" property.
    • addCapabilities

      public Capabilities.Builder<_B> addCapabilities(Capability... capabilities)
      Adds the given items to the value of "capabilities"
      Parameters:
      capabilities - Items to add to the value of the "capabilities" property
    • withCapabilities

      public Capabilities.Builder<_B> withCapabilities(Capability... capabilities)
      Sets the new value of "capabilities" (any previous value will be replaced)
      Parameters:
      capabilities - New value of the "capabilities" property.
    • addCapabilities

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

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

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

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