Class Standard.Builder<_B>

java.lang.Object
org.javastro.ivoa.entities.resource.Resource.Builder<_B>
org.javastro.ivoa.entities.resource.standard.Standard.Builder<_B>
All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
Direct Known Subclasses:
ServiceStandard.Builder
Enclosing class:
Standard

public static class Standard.Builder<_B> extends Resource.Builder<_B> implements com.kscs.util.jaxb.Buildable
  • Constructor Details

    • Builder

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

      public Builder(_B _parentBuilder, Standard _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
  • Method Details

    • init

      protected <_P extends Standard> _P init(_P _product)
    • addEndorsedVersions

      public Standard.Builder<_B> addEndorsedVersions(Iterable<? extends EndorsedVersion> endorsedVersions)
      Adds the given items to the value of "endorsedVersions"
      Parameters:
      endorsedVersions - Items to add to the value of the "endorsedVersions" property
    • withEndorsedVersions

      public Standard.Builder<_B> withEndorsedVersions(Iterable<? extends EndorsedVersion> endorsedVersions)
      Sets the new value of "endorsedVersions" (any previous value will be replaced)
      Parameters:
      endorsedVersions - New value of the "endorsedVersions" property.
    • addEndorsedVersions

      public Standard.Builder<_B> addEndorsedVersions(EndorsedVersion... endorsedVersions)
      Adds the given items to the value of "endorsedVersions"
      Parameters:
      endorsedVersions - Items to add to the value of the "endorsedVersions" property
    • withEndorsedVersions

      public Standard.Builder<_B> withEndorsedVersions(EndorsedVersion... endorsedVersions)
      Sets the new value of "endorsedVersions" (any previous value will be replaced)
      Parameters:
      endorsedVersions - New value of the "endorsedVersions" property.
    • addEndorsedVersions

      public EndorsedVersion.Builder<? extends Standard.Builder<_B>> addEndorsedVersions()
      Returns a new builder to build an additional value of the "EndorsedVersions" property. Use EndorsedVersion.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "EndorsedVersions" property. Use EndorsedVersion.Builder.end() to return to the current builder.
    • addSchemas

      public Standard.Builder<_B> addSchemas(Iterable<? extends Schema> schemas)
      Adds the given items to the value of "schemas"
      Parameters:
      schemas - Items to add to the value of the "schemas" property
    • withSchemas

      public Standard.Builder<_B> withSchemas(Iterable<? extends Schema> schemas)
      Sets the new value of "schemas" (any previous value will be replaced)
      Parameters:
      schemas - New value of the "schemas" property.
    • addSchemas

      public Standard.Builder<_B> addSchemas(Schema... schemas)
      Adds the given items to the value of "schemas"
      Parameters:
      schemas - Items to add to the value of the "schemas" property
    • withSchemas

      public Standard.Builder<_B> withSchemas(Schema... schemas)
      Sets the new value of "schemas" (any previous value will be replaced)
      Parameters:
      schemas - New value of the "schemas" property.
    • addSchemas

      public Schema.Builder<? extends Standard.Builder<_B>> addSchemas()
      Returns a new builder to build an additional value of the "Schemas" property. Use Schema.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "Schemas" property. Use Schema.Builder.end() to return to the current builder.
    • withDeprecated

      public Standard.Builder<_B> withDeprecated(String deprecated)
      Sets the new value of "deprecated" (any previous value will be replaced)
      Parameters:
      deprecated - New value of the "deprecated" property.
    • addKeies

      public Standard.Builder<_B> addKeies(Iterable<? extends StandardKey> keies)
      Adds the given items to the value of "keies"
      Parameters:
      keies - Items to add to the value of the "keies" property
    • withKeies

      public Standard.Builder<_B> withKeies(Iterable<? extends StandardKey> keies)
      Sets the new value of "keies" (any previous value will be replaced)
      Parameters:
      keies - New value of the "keies" property.
    • addKeies

      public Standard.Builder<_B> addKeies(StandardKey... keies)
      Adds the given items to the value of "keies"
      Parameters:
      keies - Items to add to the value of the "keies" property
    • withKeies

      public Standard.Builder<_B> withKeies(StandardKey... keies)
      Sets the new value of "keies" (any previous value will be replaced)
      Parameters:
      keies - New value of the "keies" property.
    • addKeies

      public StandardKey.Builder<? extends Standard.Builder<_B>> addKeies()
      Returns a new builder to build an additional value of the "Keies" property. Use StandardKey.Builder.end() to return to the current builder.
      Returns:
      a new builder to build an additional value of the "Keies" property. Use StandardKey.Builder.end() to return to the current builder.
    • addValidationLevels

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

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

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

      public Standard.Builder<_B> withValidationLevels(Validation... validationLevels)
      Sets the new value of "validationLevels" (any previous value will be replaced)
      Overrides:
      withValidationLevels in class Resource.Builder<_B>
      Parameters:
      validationLevels - New value of the "validationLevels" property.
    • withTitle

      public Standard.Builder<_B> withTitle(String title)
      Sets the new value of "title" (any previous value will be replaced)
      Overrides:
      withTitle in class Resource.Builder<_B>
      Parameters:
      title - New value of the "title" property.
    • withShortName

      public Standard.Builder<_B> withShortName(String shortName)
      Sets the new value of "shortName" (any previous value will be replaced)
      Overrides:
      withShortName in class Resource.Builder<_B>
      Parameters:
      shortName - New value of the "shortName" property.
    • withIdentifier

      public Standard.Builder<_B> withIdentifier(String identifier)
      Sets the new value of "identifier" (any previous value will be replaced)
      Overrides:
      withIdentifier in class Resource.Builder<_B>
      Parameters:
      identifier - New value of the "identifier" property.
    • addAltIdentifiers

      public Standard.Builder<_B> addAltIdentifiers(Iterable<? extends String> altIdentifiers)
      Adds the given items to the value of "altIdentifiers"
      Overrides:
      addAltIdentifiers in class Resource.Builder<_B>
      Parameters:
      altIdentifiers - Items to add to the value of the "altIdentifiers" property
    • addAltIdentifiers

      public Standard.Builder<_B> addAltIdentifiers(String... altIdentifiers)
      Adds the given items to the value of "altIdentifiers"
      Overrides:
      addAltIdentifiers in class Resource.Builder<_B>
      Parameters:
      altIdentifiers - Items to add to the value of the "altIdentifiers" property
    • withAltIdentifiers

      public Standard.Builder<_B> withAltIdentifiers(Iterable<? extends String> altIdentifiers)
      Sets the new value of "altIdentifiers" (any previous value will be replaced)
      Overrides:
      withAltIdentifiers in class Resource.Builder<_B>
      Parameters:
      altIdentifiers - New value of the "altIdentifiers" property.
    • withAltIdentifiers

      public Standard.Builder<_B> withAltIdentifiers(String... altIdentifiers)
      Sets the new value of "altIdentifiers" (any previous value will be replaced)
      Overrides:
      withAltIdentifiers in class Resource.Builder<_B>
      Parameters:
      altIdentifiers - New value of the "altIdentifiers" property.
    • withCuration

      public Standard.Builder<_B> withCuration(Curation curation)
      Sets the new value of "curation" (any previous value will be replaced)
      Overrides:
      withCuration in class Resource.Builder<_B>
      Parameters:
      curation - New value of the "curation" property.
    • withCuration

      public Curation.Builder<? extends Standard.Builder<_B>> withCuration()
      Returns the existing builder or a new builder to build the value of the "curation" property. Use Curation.Builder.end() to return to the current builder.
      Overrides:
      withCuration in class Resource.Builder<_B>
      Returns:
      A new builder to build the value of the "curation" property. Use Curation.Builder.end() to return to the current builder.
    • withContent

      public Standard.Builder<_B> withContent(Content content)
      Sets the new value of "content" (any previous value will be replaced)
      Overrides:
      withContent in class Resource.Builder<_B>
      Parameters:
      content - New value of the "content" property.
    • withContent

      public Content.Builder<? extends Standard.Builder<_B>> withContent()
      Returns the existing builder or a new builder to build the value of the "content" property. Use Content.Builder.end() to return to the current builder.
      Overrides:
      withContent in class Resource.Builder<_B>
      Returns:
      A new builder to build the value of the "content" property. Use Content.Builder.end() to return to the current builder.
    • withCreated

      public Standard.Builder<_B> withCreated(ZonedDateTime created)
      Sets the new value of "created" (any previous value will be replaced)
      Overrides:
      withCreated in class Resource.Builder<_B>
      Parameters:
      created - New value of the "created" property.
    • withUpdated

      public Standard.Builder<_B> withUpdated(ZonedDateTime updated)
      Sets the new value of "updated" (any previous value will be replaced)
      Overrides:
      withUpdated in class Resource.Builder<_B>
      Parameters:
      updated - New value of the "updated" property.
    • withStatus

      public Standard.Builder<_B> withStatus(String status)
      Sets the new value of "status" (any previous value will be replaced)
      Overrides:
      withStatus in class Resource.Builder<_B>
      Parameters:
      status - New value of the "status" property.
    • withVersion

      public Standard.Builder<_B> withVersion(String version)
      Sets the new value of "version" (any previous value will be replaced)
      Overrides:
      withVersion in class Resource.Builder<_B>
      Parameters:
      version - New value of the "version" property.
    • build

      public Standard build()
      Specified by:
      build in interface com.kscs.util.jaxb.Buildable
      Overrides:
      build in class Resource.Builder<_B>
    • copyOf

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

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