Class SoftwareLibrary.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.resource.Resource.Builder<_B>
org.javastro.ivoa.entities.resource.applications.Application.Builder<_B>
org.javastro.ivoa.entities.resource.applications.SoftwareLibrary.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- SoftwareLibrary
public static class SoftwareLibrary.Builder<_B>
extends Application.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, SoftwareLibrary _other, boolean _copy) Builder(_B _parentBuilder, SoftwareLibrary _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"addDataFormats(Iterable<? extends DataFormat> dataFormats) Adds the given items to the value of "dataFormats"addDataFormats(DataFormat... dataFormats) Adds the given items to the value of "dataFormats"ExecutionEnvironment.Builder<? extends SoftwareLibrary.Builder<_B>>Returns a new builder to build an additional value of the "Libraries" property.addLibraries(Iterable<? extends ExecutionEnvironment> libraries) Adds the given items to the value of "libraries"addLibraries(ExecutionEnvironment... libraries) Adds the given items to the value of "libraries"addSourceLanguages(Iterable<? extends String> sourceLanguages) Adds the given items to the value of "sourceLanguages"addSourceLanguages(String... sourceLanguages) Adds the given items to the value of "sourceLanguages"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"addVoStandards(Iterable<? extends ApplicationCapability> voStandards) Adds the given items to the value of "voStandards"addVoStandards(ApplicationCapability... voStandards) Adds the given items to the value of "voStandards"build()copyOf(SoftwareLibrary _other) copyOf(SoftwareLibrary.Builder _other) protected <_P extends SoftwareLibrary>
_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 SoftwareLibrary.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)Sets the new value of "cost" (any previous value will be replaced)withCreated(ZonedDateTime created) Sets the new value of "created" (any previous value will be replaced)Curation.Builder<? extends SoftwareLibrary.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)withDataFormats(Iterable<? extends DataFormat> dataFormats) Sets the new value of "dataFormats" (any previous value will be replaced)withDataFormats(DataFormat... dataFormats) Sets the new value of "dataFormats" (any previous value will be replaced)withIdentifier(String identifier) Sets the new value of "identifier" (any previous value will be replaced)withLibraries(Iterable<? extends ExecutionEnvironment> libraries) Sets the new value of "libraries" (any previous value will be replaced)withLibraries(ExecutionEnvironment... libraries) Sets the new value of "libraries" (any previous value will be replaced)withLicence(String licence) Sets the new value of "licence" (any previous value will be replaced)withOpenSource(Boolean openSource) Sets the new value of "openSource" (any previous value will be replaced)withShortName(String shortName) Sets the new value of "shortName" (any previous value will be replaced)withSourceCodeURL(String sourceCodeURL) Sets the new value of "sourceCodeURL" (any previous value will be replaced)withSourceLanguages(Iterable<? extends String> sourceLanguages) Sets the new value of "sourceLanguages" (any previous value will be replaced)withSourceLanguages(String... sourceLanguages) Sets the new value of "sourceLanguages" (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(ZonedDateTime 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)withVoStandards(Iterable<? extends ApplicationCapability> voStandards) Sets the new value of "voStandards" (any previous value will be replaced)withVoStandards(ApplicationCapability... voStandards) Sets the new value of "voStandards" (any previous value will be replaced)Methods inherited from class org.javastro.ivoa.entities.resource.applications.Application.Builder
addDataFormats, addVoStandards, 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, SoftwareLibrary _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
init
-
addLibraries
Adds the given items to the value of "libraries"- Parameters:
libraries- Items to add to the value of the "libraries" property
-
withLibraries
public SoftwareLibrary.Builder<_B> withLibraries(Iterable<? extends ExecutionEnvironment> libraries) Sets the new value of "libraries" (any previous value will be replaced)- Parameters:
libraries- New value of the "libraries" property.
-
addLibraries
Adds the given items to the value of "libraries"- Parameters:
libraries- Items to add to the value of the "libraries" property
-
withLibraries
Sets the new value of "libraries" (any previous value will be replaced)- Parameters:
libraries- New value of the "libraries" property.
-
addLibraries
Returns a new builder to build an additional value of the "Libraries" property. UseExecutionEnvironment.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Libraries" property.
Use
ExecutionEnvironment.Builder.end()to return to the current builder.
-
withCost
Sets the new value of "cost" (any previous value will be replaced)- Overrides:
withCostin classApplication.Builder<_B>- Parameters:
cost- New value of the "cost" property.
-
withLicence
Sets the new value of "licence" (any previous value will be replaced)- Overrides:
withLicencein classApplication.Builder<_B>- Parameters:
licence- New value of the "licence" property.
-
withOpenSource
Sets the new value of "openSource" (any previous value will be replaced)- Overrides:
withOpenSourcein classApplication.Builder<_B>- Parameters:
openSource- New value of the "openSource" property.
-
addDataFormats
Adds the given items to the value of "dataFormats"- Overrides:
addDataFormatsin classApplication.Builder<_B>- Parameters:
dataFormats- Items to add to the value of the "dataFormats" property
-
addDataFormats
Adds the given items to the value of "dataFormats"- Overrides:
addDataFormatsin classApplication.Builder<_B>- Parameters:
dataFormats- Items to add to the value of the "dataFormats" property
-
withDataFormats
Sets the new value of "dataFormats" (any previous value will be replaced)- Overrides:
withDataFormatsin classApplication.Builder<_B>- Parameters:
dataFormats- New value of the "dataFormats" property.
-
withDataFormats
Sets the new value of "dataFormats" (any previous value will be replaced)- Overrides:
withDataFormatsin classApplication.Builder<_B>- Parameters:
dataFormats- New value of the "dataFormats" property.
-
addVoStandards
public SoftwareLibrary.Builder<_B> addVoStandards(Iterable<? extends ApplicationCapability> voStandards) Adds the given items to the value of "voStandards"- Overrides:
addVoStandardsin classApplication.Builder<_B>- Parameters:
voStandards- Items to add to the value of the "voStandards" property
-
addVoStandards
Adds the given items to the value of "voStandards"- Overrides:
addVoStandardsin classApplication.Builder<_B>- Parameters:
voStandards- Items to add to the value of the "voStandards" property
-
withVoStandards
public SoftwareLibrary.Builder<_B> withVoStandards(Iterable<? extends ApplicationCapability> voStandards) Sets the new value of "voStandards" (any previous value will be replaced)- Overrides:
withVoStandardsin classApplication.Builder<_B>- Parameters:
voStandards- New value of the "voStandards" property.
-
withVoStandards
Sets the new value of "voStandards" (any previous value will be replaced)- Overrides:
withVoStandardsin classApplication.Builder<_B>- Parameters:
voStandards- New value of the "voStandards" property.
-
addSourceLanguages
Adds the given items to the value of "sourceLanguages"- Overrides:
addSourceLanguagesin classApplication.Builder<_B>- Parameters:
sourceLanguages- Items to add to the value of the "sourceLanguages" property
-
addSourceLanguages
Adds the given items to the value of "sourceLanguages"- Overrides:
addSourceLanguagesin classApplication.Builder<_B>- Parameters:
sourceLanguages- Items to add to the value of the "sourceLanguages" property
-
withSourceLanguages
Sets the new value of "sourceLanguages" (any previous value will be replaced)- Overrides:
withSourceLanguagesin classApplication.Builder<_B>- Parameters:
sourceLanguages- New value of the "sourceLanguages" property.
-
withSourceLanguages
Sets the new value of "sourceLanguages" (any previous value will be replaced)- Overrides:
withSourceLanguagesin classApplication.Builder<_B>- Parameters:
sourceLanguages- New value of the "sourceLanguages" property.
-
withSourceCodeURL
Sets the new value of "sourceCodeURL" (any previous value will be replaced)- Overrides:
withSourceCodeURLin classApplication.Builder<_B>- Parameters:
sourceCodeURL- New value of the "sourceCodeURL" property.
-
addValidationLevels
public SoftwareLibrary.Builder<_B> addValidationLevels(Iterable<? extends Validation> validationLevels) Adds the given items to the value of "validationLevels"- Overrides:
addValidationLevelsin classApplication.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 classApplication.Builder<_B>- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
withValidationLevels
public SoftwareLibrary.Builder<_B> withValidationLevels(Iterable<? extends Validation> validationLevels) Sets the new value of "validationLevels" (any previous value will be replaced)- Overrides:
withValidationLevelsin classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.Builder<_B>- Parameters:
identifier- New value of the "identifier" property.
-
addAltIdentifiers
Adds the given items to the value of "altIdentifiers"- Overrides:
addAltIdentifiersin classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.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 classApplication.Builder<_B>- Parameters:
version- New value of the "version" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classApplication.Builder<_B>
-
copyOf
-
copyOf
-