Class Capability.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.resource.Capability.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Direct Known Subclasses:
CSCapRestriction.Builder, RegCapRestriction.Builder, SIACapRestriction.Builder, SimpleSpectralAccess.Builder, TableAccess.Builder
Enclosing class:
Capability

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final Capability _storedValue
  • Constructor Details

    • Builder

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

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

      public Capability.Builder<_B> addValidationLevels(Iterable<? extends Validation> validationLevels)
      Adds the given items to the value of "validationLevels"
      Parameters:
      validationLevels - Items to add to the value of the "validationLevels" property
    • withValidationLevels

      public Capability.Builder<_B> withValidationLevels(Iterable<? extends Validation> validationLevels)
      Sets the new value of "validationLevels" (any previous value will be replaced)
      Parameters:
      validationLevels - New value of the "validationLevels" property.
    • addValidationLevels

      public Capability.Builder<_B> addValidationLevels(Validation... validationLevels)
      Adds the given items to the value of "validationLevels"
      Parameters:
      validationLevels - Items to add to the value of the "validationLevels" property
    • withValidationLevels

      public Capability.Builder<_B> withValidationLevels(Validation... validationLevels)
      Sets the new value of "validationLevels" (any previous value will be replaced)
      Parameters:
      validationLevels - New value of the "validationLevels" property.
    • addValidationLevels

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

      public Capability.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.
    • addInterfaces

      public Capability.Builder<_B> addInterfaces(Iterable<? extends ServiceInterface> interfaces)
      Adds the given items to the value of "interfaces"
      Parameters:
      interfaces - Items to add to the value of the "interfaces" property
    • withInterfaces

      public Capability.Builder<_B> withInterfaces(Iterable<? extends ServiceInterface> interfaces)
      Sets the new value of "interfaces" (any previous value will be replaced)
      Parameters:
      interfaces - New value of the "interfaces" property.
    • addInterfaces

      public Capability.Builder<_B> addInterfaces(ServiceInterface... interfaces)
      Adds the given items to the value of "interfaces"
      Parameters:
      interfaces - Items to add to the value of the "interfaces" property
    • withInterfaces

      public Capability.Builder<_B> withInterfaces(ServiceInterface... interfaces)
      Sets the new value of "interfaces" (any previous value will be replaced)
      Parameters:
      interfaces - New value of the "interfaces" property.
    • withStandardID

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

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

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

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