Class DataService.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.resource.Resource.Builder<_B>
org.javastro.ivoa.entities.resource.Service.Builder<_B>
org.javastro.ivoa.entities.resource.dataservice.DataResource.Builder<_B>
org.javastro.ivoa.entities.resource.dataservice.DataService.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- DataService
public static class DataService.Builder<_B>
extends DataResource.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, DataService _other, boolean _copy) Builder(_B _parentBuilder, DataService _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"addCapabilities(Iterable<? extends Capability> capabilities) Adds the given items to the value of "capabilities"addCapabilities(Capability... capabilities) Adds the given items to the value of "capabilities"addFacilities(Iterable<? extends ResourceName> facilities) Adds the given items to the value of "facilities"addFacilities(ResourceName... facilities) Adds the given items to the value of "facilities"addInstruments(Iterable<? extends ResourceName> instruments) Adds the given items to the value of "instruments"addInstruments(ResourceName... instruments) Adds the given items to the value of "instruments"Adds the given items to the value of "rights"Adds the given items to the value of "rights"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(DataService _other) copyOf(DataService.Builder _other) protected <_P extends DataService>
_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)withCapabilities(Iterable<? extends Capability> capabilities) Sets the new value of "capabilities" (any previous value will be replaced)withCapabilities(Capability... capabilities) Sets the new value of "capabilities" (any previous value will be replaced)Content.Builder<? extends DataService.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)Coverage.Builder<? extends DataService.Builder<_B>>Returns the existing builder or a new builder to build the value of the "coverage" property.withCoverage(Coverage coverage) Sets the new value of "coverage" (any previous value will be replaced)withCreated(LocalDateTime created) Sets the new value of "created" (any previous value will be replaced)Curation.Builder<? extends DataService.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)withFacilities(Iterable<? extends ResourceName> facilities) Sets the new value of "facilities" (any previous value will be replaced)withFacilities(ResourceName... facilities) Sets the new value of "facilities" (any previous value will be replaced)withIdentifier(String identifier) Sets the new value of "identifier" (any previous value will be replaced)withInstruments(Iterable<? extends ResourceName> instruments) Sets the new value of "instruments" (any previous value will be replaced)withInstruments(ResourceName... instruments) Sets the new value of "instruments" (any previous value will be replaced)withRights(Iterable<? extends Rights> rights) Sets the new value of "rights" (any previous value will be replaced)withRights(Rights... rights) Sets the new value of "rights" (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.dataservice.DataResource.Builder
addFacilities, addInstruments, copyOf, copyOf, initMethods inherited from class org.javastro.ivoa.entities.resource.Service.Builder
addCapabilities, addRights, 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, DataService _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
init
-
addFacilities
Adds the given items to the value of "facilities"- Overrides:
addFacilitiesin classDataResource.Builder<_B>- Parameters:
facilities- Items to add to the value of the "facilities" property
-
addFacilities
Adds the given items to the value of "facilities"- Overrides:
addFacilitiesin classDataResource.Builder<_B>- Parameters:
facilities- Items to add to the value of the "facilities" property
-
withFacilities
Sets the new value of "facilities" (any previous value will be replaced)- Overrides:
withFacilitiesin classDataResource.Builder<_B>- Parameters:
facilities- New value of the "facilities" property.
-
withFacilities
Sets the new value of "facilities" (any previous value will be replaced)- Overrides:
withFacilitiesin classDataResource.Builder<_B>- Parameters:
facilities- New value of the "facilities" property.
-
addInstruments
Adds the given items to the value of "instruments"- Overrides:
addInstrumentsin classDataResource.Builder<_B>- Parameters:
instruments- Items to add to the value of the "instruments" property
-
addInstruments
Adds the given items to the value of "instruments"- Overrides:
addInstrumentsin classDataResource.Builder<_B>- Parameters:
instruments- Items to add to the value of the "instruments" property
-
withInstruments
Sets the new value of "instruments" (any previous value will be replaced)- Overrides:
withInstrumentsin classDataResource.Builder<_B>- Parameters:
instruments- New value of the "instruments" property.
-
withInstruments
Sets the new value of "instruments" (any previous value will be replaced)- Overrides:
withInstrumentsin classDataResource.Builder<_B>- Parameters:
instruments- New value of the "instruments" property.
-
withCoverage
Sets the new value of "coverage" (any previous value will be replaced)- Overrides:
withCoveragein classDataResource.Builder<_B>- Parameters:
coverage- New value of the "coverage" property.
-
withCoverage
Returns the existing builder or a new builder to build the value of the "coverage" property. UseCoverage.Builder.end()to return to the current builder.- Overrides:
withCoveragein classDataResource.Builder<_B>- Returns:
- A new builder to build the value of the "coverage" property.
Use
Coverage.Builder.end()to return to the current builder.
-
addRights
Adds the given items to the value of "rights"- Overrides:
addRightsin classDataResource.Builder<_B>- Parameters:
rights- Items to add to the value of the "rights" property
-
addRights
Adds the given items to the value of "rights"- Overrides:
addRightsin classDataResource.Builder<_B>- Parameters:
rights- Items to add to the value of the "rights" property
-
withRights
Sets the new value of "rights" (any previous value will be replaced)- Overrides:
withRightsin classDataResource.Builder<_B>- Parameters:
rights- New value of the "rights" property.
-
withRights
Sets the new value of "rights" (any previous value will be replaced)- Overrides:
withRightsin classDataResource.Builder<_B>- Parameters:
rights- New value of the "rights" property.
-
addCapabilities
Adds the given items to the value of "capabilities"- Overrides:
addCapabilitiesin classDataResource.Builder<_B>- Parameters:
capabilities- Items to add to the value of the "capabilities" property
-
addCapabilities
Adds the given items to the value of "capabilities"- Overrides:
addCapabilitiesin classDataResource.Builder<_B>- Parameters:
capabilities- Items to add to the value of the "capabilities" property
-
withCapabilities
Sets the new value of "capabilities" (any previous value will be replaced)- Overrides:
withCapabilitiesin classDataResource.Builder<_B>- Parameters:
capabilities- New value of the "capabilities" property.
-
withCapabilities
Sets the new value of "capabilities" (any previous value will be replaced)- Overrides:
withCapabilitiesin classDataResource.Builder<_B>- Parameters:
capabilities- New value of the "capabilities" property.
-
addValidationLevels
Adds the given items to the value of "validationLevels"- Overrides:
addValidationLevelsin classDataResource.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 classDataResource.Builder<_B>- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
withValidationLevels
public DataService.Builder<_B> withValidationLevels(Iterable<? extends Validation> validationLevels) Sets the new value of "validationLevels" (any previous value will be replaced)- Overrides:
withValidationLevelsin classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.Builder<_B>- Parameters:
identifier- New value of the "identifier" property.
-
addAltIdentifiers
Adds the given items to the value of "altIdentifiers"- Overrides:
addAltIdentifiersin classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.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 classDataResource.Builder<_B>- Parameters:
version- New value of the "version" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classDataResource.Builder<_B>
-
copyOf
-
copyOf
-