Class VOResources.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final VOResources _storedValue
  • Constructor Details

    • Builder

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

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

      public VOResources.Builder<_B> addIdentifiers(Iterable<? extends String> identifiers)
      Adds the given items to the value of "identifiers"
      Parameters:
      identifiers - Items to add to the value of the "identifiers" property
    • withIdentifiers

      public VOResources.Builder<_B> withIdentifiers(Iterable<? extends String> identifiers)
      Sets the new value of "identifiers" (any previous value will be replaced)
      Parameters:
      identifiers - New value of the "identifiers" property.
    • addIdentifiers

      public VOResources.Builder<_B> addIdentifiers(String... identifiers)
      Adds the given items to the value of "identifiers"
      Parameters:
      identifiers - Items to add to the value of the "identifiers" property
    • withIdentifiers

      public VOResources.Builder<_B> withIdentifiers(String... identifiers)
      Sets the new value of "identifiers" (any previous value will be replaced)
      Parameters:
      identifiers - New value of the "identifiers" property.
    • addResources

      public VOResources.Builder<_B> addResources(Iterable<? extends Resource> resources)
      Adds the given items to the value of "resources"
      Parameters:
      resources - Items to add to the value of the "resources" property
    • withResources

      public VOResources.Builder<_B> withResources(Iterable<? extends Resource> resources)
      Sets the new value of "resources" (any previous value will be replaced)
      Parameters:
      resources - New value of the "resources" property.
    • addResources

      public VOResources.Builder<_B> addResources(Resource... resources)
      Adds the given items to the value of "resources"
      Parameters:
      resources - Items to add to the value of the "resources" property
    • withResources

      public VOResources.Builder<_B> withResources(Resource... resources)
      Sets the new value of "resources" (any previous value will be replaced)
      Parameters:
      resources - New value of the "resources" property.
    • addResources

      public Resource.Builder<? extends VOResources.Builder<_B>> addResources()
      Returns a new builder to build an additional value of the "Resources" property. Use Resource.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "Resources" property. Use Resource.Builder.end() to return to the current builder.
    • withFrom

      public VOResources.Builder<_B> withFrom(BigInteger from)
      Sets the new value of "from" (any previous value will be replaced)
      Parameters:
      from - New value of the "from" property.
    • withNumberReturned

      public VOResources.Builder<_B> withNumberReturned(BigInteger numberReturned)
      Sets the new value of "numberReturned" (any previous value will be replaced)
      Parameters:
      numberReturned - New value of the "numberReturned" property.
    • withMore

      public VOResources.Builder<_B> withMore(boolean more)
      Sets the new value of "more" (any previous value will be replaced)
      Parameters:
      more - New value of the "more" property.
    • build

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

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

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