Class Resource.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.resource.Resource.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Direct Known Subclasses:
Application.Builder,Authority.Builder,DataCollection.Builder,Organisation.Builder,Service.Builder,Standard.Builder,StandardKeyEnumeration.Builder,StandardSTC.Builder
- Enclosing class:
- Resource
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.kscs.util.jaxb.Buildable
com.kscs.util.jaxb.Buildable.PrimitiveBuildable -
Field Summary
Fields -
Constructor Summary
Constructors -
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"Validation.Builder<? extends Resource.Builder<_B>>Returns a new builder to build an additional value of the "ValidationLevels" property.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(Resource.Builder _other) end()protected <_P extends Resource>
_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 Resource.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(ZonedDateTime created) Sets the new value of "created" (any previous value will be replaced)Curation.Builder<? extends Resource.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)withIdentifier(String identifier) Sets the new value of "identifier" (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(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)
-
Field Details
-
_parentBuilder
-
_storedValue
-
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
end
-
init
-
addValidationLevels
Adds the given items to the value of "validationLevels"- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
withValidationLevels
Sets the new value of "validationLevels" (any previous value will be replaced)- Parameters:
validationLevels- New value of the "validationLevels" property.
-
addValidationLevels
Adds the given items to the value of "validationLevels"- Parameters:
validationLevels- Items to add to the value of the "validationLevels" property
-
withValidationLevels
Sets the new value of "validationLevels" (any previous value will be replaced)- Parameters:
validationLevels- New value of the "validationLevels" property.
-
addValidationLevels
Returns a new builder to build an additional value of the "ValidationLevels" property. UseValidation.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "ValidationLevels" property.
Use
Validation.Builder.end()to return to the current builder.
-
withTitle
Sets the new value of "title" (any previous value will be replaced)- Parameters:
title- New value of the "title" property.
-
withShortName
Sets the new value of "shortName" (any previous value will be replaced)- Parameters:
shortName- New value of the "shortName" property.
-
withIdentifier
Sets the new value of "identifier" (any previous value will be replaced)- Parameters:
identifier- New value of the "identifier" property.
-
addAltIdentifiers
Adds the given items to the value of "altIdentifiers"- 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)- Parameters:
altIdentifiers- New value of the "altIdentifiers" property.
-
addAltIdentifiers
Adds the given items to the value of "altIdentifiers"- 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)- Parameters:
altIdentifiers- New value of the "altIdentifiers" property.
-
withCuration
Sets the new value of "curation" (any previous value will be replaced)- 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.- 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)- 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.- 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)- Parameters:
created- New value of the "created" property.
-
withUpdated
Sets the new value of "updated" (any previous value will be replaced)- Parameters:
updated- New value of the "updated" property.
-
withStatus
Sets the new value of "status" (any previous value will be replaced)- Parameters:
status- New value of the "status" property.
-
withVersion
Sets the new value of "version" (any previous value will be replaced)- Parameters:
version- New value of the "version" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
-
copyOf
-