Class HeaderType.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final HeaderType _storedValue
  • Constructor Details

    • Builder

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

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

      public HeaderType.Builder<_B> withIdentifier(String identifier)
      Sets the new value of "identifier" (any previous value will be replaced)
      Parameters:
      identifier - New value of the "identifier" property.
    • withDatestamp

      public HeaderType.Builder<_B> withDatestamp(String datestamp)
      Sets the new value of "datestamp" (any previous value will be replaced)
      Parameters:
      datestamp - New value of the "datestamp" property.
    • addSetSpecs

      public HeaderType.Builder<_B> addSetSpecs(Iterable<? extends String> setSpecs)
      Adds the given items to the value of "setSpecs"
      Parameters:
      setSpecs - Items to add to the value of the "setSpecs" property
    • withSetSpecs

      public HeaderType.Builder<_B> withSetSpecs(Iterable<? extends String> setSpecs)
      Sets the new value of "setSpecs" (any previous value will be replaced)
      Parameters:
      setSpecs - New value of the "setSpecs" property.
    • addSetSpecs

      public HeaderType.Builder<_B> addSetSpecs(String... setSpecs)
      Adds the given items to the value of "setSpecs"
      Parameters:
      setSpecs - Items to add to the value of the "setSpecs" property
    • withSetSpecs

      public HeaderType.Builder<_B> withSetSpecs(String... setSpecs)
      Sets the new value of "setSpecs" (any previous value will be replaced)
      Parameters:
      setSpecs - New value of the "setSpecs" property.
    • withStatus

      public HeaderType.Builder<_B> withStatus(StatusType status)
      Sets the new value of "status" (any previous value will be replaced)
      Parameters:
      status - New value of the "status" property.
    • build

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

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

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