Class IdentifyType.Builder<_B>

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

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

    • _parentBuilder

      protected final _B _parentBuilder
    • _storedValue

      protected final IdentifyType _storedValue
  • Constructor Details

    • Builder

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

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

      public IdentifyType.Builder<_B> withRepositoryName(String repositoryName)
      Sets the new value of "repositoryName" (any previous value will be replaced)
      Parameters:
      repositoryName - New value of the "repositoryName" property.
    • withBaseURL

      public IdentifyType.Builder<_B> withBaseURL(String baseURL)
      Sets the new value of "baseURL" (any previous value will be replaced)
      Parameters:
      baseURL - New value of the "baseURL" property.
    • withProtocolVersion

      public IdentifyType.Builder<_B> withProtocolVersion(String protocolVersion)
      Sets the new value of "protocolVersion" (any previous value will be replaced)
      Parameters:
      protocolVersion - New value of the "protocolVersion" property.
    • addAdminEmails

      public IdentifyType.Builder<_B> addAdminEmails(Iterable<? extends String> adminEmails)
      Adds the given items to the value of "adminEmails"
      Parameters:
      adminEmails - Items to add to the value of the "adminEmails" property
    • withAdminEmails

      public IdentifyType.Builder<_B> withAdminEmails(Iterable<? extends String> adminEmails)
      Sets the new value of "adminEmails" (any previous value will be replaced)
      Parameters:
      adminEmails - New value of the "adminEmails" property.
    • addAdminEmails

      public IdentifyType.Builder<_B> addAdminEmails(String... adminEmails)
      Adds the given items to the value of "adminEmails"
      Parameters:
      adminEmails - Items to add to the value of the "adminEmails" property
    • withAdminEmails

      public IdentifyType.Builder<_B> withAdminEmails(String... adminEmails)
      Sets the new value of "adminEmails" (any previous value will be replaced)
      Parameters:
      adminEmails - New value of the "adminEmails" property.
    • withEarliestDatestamp

      public IdentifyType.Builder<_B> withEarliestDatestamp(String earliestDatestamp)
      Sets the new value of "earliestDatestamp" (any previous value will be replaced)
      Parameters:
      earliestDatestamp - New value of the "earliestDatestamp" property.
    • withDeletedRecord

      public IdentifyType.Builder<_B> withDeletedRecord(DeletedRecordType deletedRecord)
      Sets the new value of "deletedRecord" (any previous value will be replaced)
      Parameters:
      deletedRecord - New value of the "deletedRecord" property.
    • withGranularity

      public IdentifyType.Builder<_B> withGranularity(GranularityType granularity)
      Sets the new value of "granularity" (any previous value will be replaced)
      Parameters:
      granularity - New value of the "granularity" property.
    • addCompressions

      public IdentifyType.Builder<_B> addCompressions(Iterable<? extends String> compressions)
      Adds the given items to the value of "compressions"
      Parameters:
      compressions - Items to add to the value of the "compressions" property
    • withCompressions

      public IdentifyType.Builder<_B> withCompressions(Iterable<? extends String> compressions)
      Sets the new value of "compressions" (any previous value will be replaced)
      Parameters:
      compressions - New value of the "compressions" property.
    • addCompressions

      public IdentifyType.Builder<_B> addCompressions(String... compressions)
      Adds the given items to the value of "compressions"
      Parameters:
      compressions - Items to add to the value of the "compressions" property
    • withCompressions

      public IdentifyType.Builder<_B> withCompressions(String... compressions)
      Sets the new value of "compressions" (any previous value will be replaced)
      Parameters:
      compressions - New value of the "compressions" property.
    • addDescriptions

      public IdentifyType.Builder<_B> addDescriptions(Iterable<? extends DescriptionType> descriptions)
      Adds the given items to the value of "descriptions"
      Parameters:
      descriptions - Items to add to the value of the "descriptions" property
    • withDescriptions

      public IdentifyType.Builder<_B> withDescriptions(Iterable<? extends DescriptionType> descriptions)
      Sets the new value of "descriptions" (any previous value will be replaced)
      Parameters:
      descriptions - New value of the "descriptions" property.
    • addDescriptions

      public IdentifyType.Builder<_B> addDescriptions(DescriptionType... descriptions)
      Adds the given items to the value of "descriptions"
      Parameters:
      descriptions - Items to add to the value of the "descriptions" property
    • withDescriptions

      public IdentifyType.Builder<_B> withDescriptions(DescriptionType... descriptions)
      Sets the new value of "descriptions" (any previous value will be replaced)
      Parameters:
      descriptions - New value of the "descriptions" property.
    • addDescriptions

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

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

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

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