Class ServiceInterface.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.resource.ServiceInterface.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Direct Known Subclasses:
OAIHTTP.Builder, ParamHTTP.Builder, WebBrowser.Builder, WebService.Builder
Enclosing class:
ServiceInterface

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final ServiceInterface _storedValue
  • Constructor Details

    • Builder

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

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

      public ServiceInterface.Builder<_B> addAccessURLs(Iterable<? extends AccessURL> accessURLs)
      Adds the given items to the value of "accessURLs"
      Parameters:
      accessURLs - Items to add to the value of the "accessURLs" property
    • withAccessURLs

      public ServiceInterface.Builder<_B> withAccessURLs(Iterable<? extends AccessURL> accessURLs)
      Sets the new value of "accessURLs" (any previous value will be replaced)
      Parameters:
      accessURLs - New value of the "accessURLs" property.
    • addAccessURLs

      public ServiceInterface.Builder<_B> addAccessURLs(AccessURL... accessURLs)
      Adds the given items to the value of "accessURLs"
      Parameters:
      accessURLs - Items to add to the value of the "accessURLs" property
    • withAccessURLs

      public ServiceInterface.Builder<_B> withAccessURLs(AccessURL... accessURLs)
      Sets the new value of "accessURLs" (any previous value will be replaced)
      Parameters:
      accessURLs - New value of the "accessURLs" property.
    • addAccessURLs

      public AccessURL.Builder<? extends ServiceInterface.Builder<_B>> addAccessURLs()
      Returns a new builder to build an additional value of the "AccessURLs" property. Use AccessURL.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "AccessURLs" property. Use AccessURL.Builder.end() to return to the current builder.
    • addMirrorURLs

      public ServiceInterface.Builder<_B> addMirrorURLs(Iterable<? extends MirrorURL> mirrorURLs)
      Adds the given items to the value of "mirrorURLs"
      Parameters:
      mirrorURLs - Items to add to the value of the "mirrorURLs" property
    • withMirrorURLs

      public ServiceInterface.Builder<_B> withMirrorURLs(Iterable<? extends MirrorURL> mirrorURLs)
      Sets the new value of "mirrorURLs" (any previous value will be replaced)
      Parameters:
      mirrorURLs - New value of the "mirrorURLs" property.
    • addMirrorURLs

      public ServiceInterface.Builder<_B> addMirrorURLs(MirrorURL... mirrorURLs)
      Adds the given items to the value of "mirrorURLs"
      Parameters:
      mirrorURLs - Items to add to the value of the "mirrorURLs" property
    • withMirrorURLs

      public ServiceInterface.Builder<_B> withMirrorURLs(MirrorURL... mirrorURLs)
      Sets the new value of "mirrorURLs" (any previous value will be replaced)
      Parameters:
      mirrorURLs - New value of the "mirrorURLs" property.
    • addMirrorURLs

      public MirrorURL.Builder<? extends ServiceInterface.Builder<_B>> addMirrorURLs()
      Returns a new builder to build an additional value of the "MirrorURLs" property. Use MirrorURL.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "MirrorURLs" property. Use MirrorURL.Builder.end() to return to the current builder.
    • withSecurityMethod

      public ServiceInterface.Builder<_B> withSecurityMethod(SecurityMethod securityMethod)
      Sets the new value of "securityMethod" (any previous value will be replaced)
      Parameters:
      securityMethod - New value of the "securityMethod" property.
    • withSecurityMethod

      public SecurityMethod.Builder<? extends ServiceInterface.Builder<_B>> withSecurityMethod()
      Returns the existing builder or a new builder to build the value of the "securityMethod" property. Use SecurityMethod.Builder.end() to return to the current builder.
      Returns:
      A new builder to build the value of the "securityMethod" property. Use SecurityMethod.Builder.end() to return to the current builder.
    • withTestQueryString

      public ServiceInterface.Builder<_B> withTestQueryString(String testQueryString)
      Sets the new value of "testQueryString" (any previous value will be replaced)
      Parameters:
      testQueryString - New value of the "testQueryString" property.
    • withVersion

      public ServiceInterface.Builder<_B> withVersion(String version)
      Sets the new value of "version" (any previous value will be replaced)
      Parameters:
      version - New value of the "version" property.
    • withRole

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

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

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