Class ServiceStandard.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.resource.Resource.Builder<_B>
org.javastro.ivoa.entities.resource.standard.Standard.Builder<_B>
org.javastro.ivoa.entities.resource.standard.ServiceStandard.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- ServiceStandard
public static class ServiceStandard.Builder<_B>
extends Standard.Builder<_B>
implements com.kscs.util.jaxb.Buildable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.kscs.util.jaxb.Buildable
com.kscs.util.jaxb.Buildable.PrimitiveBuildable -
Field Summary
Fields inherited from class org.javastro.ivoa.entities.resource.Resource.Builder
_parentBuilder, _storedValue -
Constructor Summary
ConstructorsConstructorDescriptionBuilder(_B _parentBuilder, ServiceStandard _other, boolean _copy) Builder(_B _parentBuilder, ServiceStandard _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
Method Summary
Modifier and TypeMethodDescriptionaddAltIdentifiers(Iterable<? extends String> altIdentifiers) Adds the given items to the value of "altIdentifiers"addAltIdentifiers(String... altIdentifiers) Adds the given items to the value of "altIdentifiers"addEndorsedVersions(Iterable<? extends EndorsedVersion> endorsedVersions) Adds the given items to the value of "endorsedVersions"addEndorsedVersions(EndorsedVersion... endorsedVersions) Adds the given items to the value of "endorsedVersions"addInterfaces(Iterable<? extends ServiceInterface> interfaces) Adds the given items to the value of "interfaces"addInterfaces(ServiceInterface... interfaces) Adds the given items to the value of "interfaces"addKeies(Iterable<? extends StandardKey> keies) Adds the given items to the value of "keies"addKeies(StandardKey... keies) Adds the given items to the value of "keies"addSchemas(Iterable<? extends Schema> schemas) Adds the given items to the value of "schemas"addSchemas(Schema... schemas) Adds the given items to the value of "schemas"addValidationLevels(Iterable<? extends Validation> validationLevels) Adds the given items to the value of "validationLevels"addValidationLevels(Validation... validationLevels) Adds the given items to the value of "validationLevels"build()copyOf(ServiceStandard _other) copyOf(ServiceStandard.Builder _other) protected <_P extends ServiceStandard>
_Pinit(_P _product) withAltIdentifiers(Iterable<? extends String> altIdentifiers) Sets the new value of "altIdentifiers" (any previous value will be replaced)withAltIdentifiers(String... altIdentifiers) Sets the new value of "altIdentifiers" (any previous value will be replaced)Content.Builder<? extends ServiceStandard.Builder<_B>>Returns the existing builder or a new builder to build the value of the "content" property.withContent(Content content) Sets the new value of "content" (any previous value will be replaced)withCreated(LocalDateTime created) Sets the new value of "created" (any previous value will be replaced)Curation.Builder<? extends ServiceStandard.Builder<_B>>Returns the existing builder or a new builder to build the value of the "curation" property.withCuration(Curation curation) Sets the new value of "curation" (any previous value will be replaced)withDeprecated(String deprecated) Sets the new value of "deprecated" (any previous value will be replaced)withEndorsedVersions(Iterable<? extends EndorsedVersion> endorsedVersions) Sets the new value of "endorsedVersions" (any previous value will be replaced)withEndorsedVersions(EndorsedVersion... endorsedVersions) Sets the new value of "endorsedVersions" (any previous value will be replaced)withIdentifier(String identifier) Sets the new value of "identifier" (any previous value will be replaced)withInterfaces(Iterable<? extends ServiceInterface> interfaces) Sets the new value of "interfaces" (any previous value will be replaced)withInterfaces(ServiceInterface... interfaces) Sets the new value of "interfaces" (any previous value will be replaced)withKeies(Iterable<? extends StandardKey> keies) Sets the new value of "keies" (any previous value will be replaced)withKeies(StandardKey... keies) Sets the new value of "keies" (any previous value will be replaced)withSchemas(Iterable<? extends Schema> schemas) Sets the new value of "schemas" (any previous value will be replaced)withSchemas(Schema... schemas) Sets the new value of "schemas" (any previous value will be replaced)withShortName(String shortName) Sets the new value of "shortName" (any previous value will be replaced)withStatus(String status) Sets the new value of "status" (any previous value will be replaced)Sets the new value of "title" (any previous value will be replaced)withUpdated(LocalDateTime updated) Sets the new value of "updated" (any previous value will be replaced)withValidationLevels(Iterable<? extends Validation> validationLevels) Sets the new value of "validationLevels" (any previous value will be replaced)withValidationLevels(Validation... validationLevels) Sets the new value of "validationLevels" (any previous value will be replaced)withVersion(String version) Sets the new value of "version" (any previous value will be replaced)Methods inherited from class org.javastro.ivoa.entities.resource.standard.Standard.Builder
addEndorsedVersions, addKeies, addSchemas, copyOf, copyOf, initMethods inherited from class org.javastro.ivoa.entities.resource.Resource.Builder
addValidationLevels, copyOf, copyOf, end, init
-
Constructor Details
-
Builder
-
Builder
public Builder(_B _parentBuilder, ServiceStandard _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
init
-
addInterfaces
Adds the given items to the value of "interfaces"- Parameters:
interfaces- Items to add to the value of the "interfaces" property
-
withInterfaces
Sets the new value of "interfaces" (any previous value will be replaced)- Parameters:
interfaces- New value of the "interfaces" property.
-
addInterfaces
Adds the given items to the value of "interfaces"- Parameters:
interfaces- Items to add to the value of the "interfaces" property
-
withInterfaces
Sets the new value of "interfaces" (any previous value will be replaced)- Parameters:
interfaces- New value of the "interfaces" property.
-
addEndorsedVersions
public ServiceStandard.Builder<_B> addEndorsedVersions(Iterable<? extends EndorsedVersion> endorsedVersions) Adds the given items to the value of "endorsedVersions"- Overrides:
addEndorsedVersionsin classStandard.Builder<_B>- Parameters:
endorsedVersions- Items to add to the value of the "endorsedVersions" property
-
addEndorsedVersions
Adds the given items to the value of "endorsedVersions"- Overrides:
addEndorsedVersionsin classStandard.Builder<_B>- Parameters:
endorsedVersions- Items to add to the value of the "endorsedVersions" property
-
withEndorsedVersions
public ServiceStandard.Builder<_B> withEndorsedVersions(Iterable<? extends EndorsedVersion> endorsedVersions) Sets the new value of "endorsedVersions" (any previous value will be replaced)- Overrides:
withEndorsedVersionsin classStandard.Builder<_B>- Parameters:
endorsedVersions- New value of the "endorsedVersions" property.
-
withEndorsedVersions
Sets the new value of "endorsedVersions" (any previous value will be replaced)- Overrides:
withEndorsedVersionsin classStandard.Builder<_B>- Parameters:
endorsedVersions- New value of the "endorsedVersions" property.
-
addSchemas
Adds the given items to the value of "schemas"- Overrides:
addSchemasin classStandard.Builder<_B>- Parameters:
schemas- Items to add to the value of the "schemas" property
-
addSchemas
Adds the given items to the value of "schemas"- Overrides:
addSchemasin classStandard.Builder<_B>- Parameters:
schemas- Items to add to the value of the "schemas" property
-
withSchemas
Sets the new value of "schemas" (any previous value will be replaced)- Overrides:
withSchemasin classStandard.Builder<_B>- Parameters:
schemas- New value of the "schemas" property.
-
withSchemas
Sets the new value of "schemas" (any previous value will be replaced)- Overrides:
withSchemasin classStandard.Builder<_B>- Parameters:
schemas- New value of the "schemas" property.
-
withDeprecated
Sets the new value of "deprecated" (any previous value will be replaced)- Overrides:
withDeprecatedin classStandard.Builder<_B>- Parameters:
deprecated- New value of the "deprecated" property.
-
addKeies
Adds the given items to the value of "keies"- Overrides:
addKeiesin classStandard.Builder<_B>- Parameters:
keies- Items to add to the value of the "keies" property
-
addKeies
Adds the given items to the value of "keies"- Overrides:
addKeiesin classStandard.Builder<_B>- Parameters:
keies- Items to add to the value of the "keies" property
-
withKeies
Sets the new value of "keies" (any previous value will be replaced)- Overrides:
withKeiesin classStandard.Builder<_B>- Parameters:
keies- New value of the "keies" property.
-
withKeies
Sets the new value of "keies" (any previous value will be replaced)- Overrides:
withKeiesin classStandard.Builder<_B>- Parameters:
keies- New value of the "keies" property.
-
addValidationLevels
public ServiceStandard.Builder<_B> addValidationLevels(Iterable<? extends Validation> validationLevels) Adds the given items to the value of "validationLevels"- Overrides:
addValidationLevelsin classStandard.Builder<_B>- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
addValidationLevels
Adds the given items to the value of "validationLevels"- Overrides:
addValidationLevelsin classStandard.Builder<_B>- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
withValidationLevels
public ServiceStandard.Builder<_B> withValidationLevels(Iterable<? extends Validation> validationLevels) Sets the new value of "validationLevels" (any previous value will be replaced)- Overrides:
withValidationLevelsin classStandard.Builder<_B>- Parameters:
validationLevels- New value of the "validationLevels" property.
-
withValidationLevels
Sets the new value of "validationLevels" (any previous value will be replaced)- Overrides:
withValidationLevelsin classStandard.Builder<_B>- Parameters:
validationLevels- New value of the "validationLevels" property.
-
withTitle
Sets the new value of "title" (any previous value will be replaced)- Overrides:
withTitlein classStandard.Builder<_B>- Parameters:
title- New value of the "title" property.
-
withShortName
Sets the new value of "shortName" (any previous value will be replaced)- Overrides:
withShortNamein classStandard.Builder<_B>- Parameters:
shortName- New value of the "shortName" property.
-
withIdentifier
Sets the new value of "identifier" (any previous value will be replaced)- Overrides:
withIdentifierin classStandard.Builder<_B>- Parameters:
identifier- New value of the "identifier" property.
-
addAltIdentifiers
Adds the given items to the value of "altIdentifiers"- Overrides:
addAltIdentifiersin classStandard.Builder<_B>- Parameters:
altIdentifiers- Items to add to the value of the "altIdentifiers" property
-
addAltIdentifiers
Adds the given items to the value of "altIdentifiers"- Overrides:
addAltIdentifiersin classStandard.Builder<_B>- Parameters:
altIdentifiers- Items to add to the value of the "altIdentifiers" property
-
withAltIdentifiers
Sets the new value of "altIdentifiers" (any previous value will be replaced)- Overrides:
withAltIdentifiersin classStandard.Builder<_B>- Parameters:
altIdentifiers- New value of the "altIdentifiers" property.
-
withAltIdentifiers
Sets the new value of "altIdentifiers" (any previous value will be replaced)- Overrides:
withAltIdentifiersin classStandard.Builder<_B>- Parameters:
altIdentifiers- New value of the "altIdentifiers" property.
-
withCuration
Sets the new value of "curation" (any previous value will be replaced)- Overrides:
withCurationin classStandard.Builder<_B>- Parameters:
curation- New value of the "curation" property.
-
withCuration
Returns the existing builder or a new builder to build the value of the "curation" property. UseCuration.Builder.end()to return to the current builder.- Overrides:
withCurationin classStandard.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
Sets the new value of "content" (any previous value will be replaced)- Overrides:
withContentin classStandard.Builder<_B>- Parameters:
content- New value of the "content" property.
-
withContent
Returns the existing builder or a new builder to build the value of the "content" property. UseContent.Builder.end()to return to the current builder.- Overrides:
withContentin classStandard.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
Sets the new value of "created" (any previous value will be replaced)- Overrides:
withCreatedin classStandard.Builder<_B>- Parameters:
created- New value of the "created" property.
-
withUpdated
Sets the new value of "updated" (any previous value will be replaced)- Overrides:
withUpdatedin classStandard.Builder<_B>- Parameters:
updated- New value of the "updated" property.
-
withStatus
Sets the new value of "status" (any previous value will be replaced)- Overrides:
withStatusin classStandard.Builder<_B>- Parameters:
status- New value of the "status" property.
-
withVersion
Sets the new value of "version" (any previous value will be replaced)- Overrides:
withVersionin classStandard.Builder<_B>- Parameters:
version- New value of the "version" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classStandard.Builder<_B>
-
copyOf
-
copyOf
-