Package org.javastro.ivoa.entities.vodml
Class Model.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.vodml.Model.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- Model
-
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 TypeMethodDescriptionaddAuthors(Iterable<? extends String> authors) Adds the given items to the value of "authors"addAuthors(String... authors) Adds the given items to the value of "authors"DataType.Builder<? extends Model.Builder<_B>>Returns a new builder to build an additional value of the "DataTypes" property.addDataTypes(Iterable<? extends DataType> dataTypes) Adds the given items to the value of "dataTypes"addDataTypes(DataType... dataTypes) Adds the given items to the value of "dataTypes"Enumeration.Builder<? extends Model.Builder<_B>>Returns a new builder to build an additional value of the "Enumerations" property.addEnumerations(Iterable<? extends Enumeration> enumerations) Adds the given items to the value of "enumerations"addEnumerations(Enumeration... enumerations) Adds the given items to the value of "enumerations"ModelImport.Builder<? extends Model.Builder<_B>>Returns a new builder to build an additional value of the "Imports" property.addImports(Iterable<? extends ModelImport> imports) Adds the given items to the value of "imports"addImports(ModelImport... imports) Adds the given items to the value of "imports"ObjectType.Builder<? extends Model.Builder<_B>>Returns a new builder to build an additional value of the "ObjectTypes" property.addObjectTypes(Iterable<? extends ObjectType> objectTypes) Adds the given items to the value of "objectTypes"addObjectTypes(ObjectType... objectTypes) Adds the given items to the value of "objectTypes"Package.Builder<? extends Model.Builder<_B>>Returns a new builder to build an additional value of the "Packages" property.addPackages(Iterable<? extends Package> packages) Adds the given items to the value of "packages"addPackages(Package... packages) Adds the given items to the value of "packages"PrimitiveType.Builder<? extends Model.Builder<_B>>Returns a new builder to build an additional value of the "PrimitiveTypes" property.addPrimitiveTypes(Iterable<? extends PrimitiveType> primitiveTypes) Adds the given items to the value of "primitiveTypes"addPrimitiveTypes(PrimitiveType... primitiveTypes) Adds the given items to the value of "primitiveTypes"build()copyOf(Model.Builder _other) end()protected <_P extends Model>
_Pinit(_P _product) withAuthors(Iterable<? extends String> authors) Sets the new value of "authors" (any previous value will be replaced)withAuthors(String... authors) Sets the new value of "authors" (any previous value will be replaced)withDataTypes(Iterable<? extends DataType> dataTypes) Sets the new value of "dataTypes" (any previous value will be replaced)withDataTypes(DataType... dataTypes) Sets the new value of "dataTypes" (any previous value will be replaced)withDescription(String description) Sets the new value of "description" (any previous value will be replaced)withEnumerations(Iterable<? extends Enumeration> enumerations) Sets the new value of "enumerations" (any previous value will be replaced)withEnumerations(Enumeration... enumerations) Sets the new value of "enumerations" (any previous value will be replaced)withIdentifier(String identifier) Sets the new value of "identifier" (any previous value will be replaced)withImports(Iterable<? extends ModelImport> imports) Sets the new value of "imports" (any previous value will be replaced)withImports(ModelImport... imports) Sets the new value of "imports" (any previous value will be replaced)withLastModified(ZonedDateTime lastModified) Sets the new value of "lastModified" (any previous value will be replaced)Sets the new value of "name" (any previous value will be replaced)withObjectTypes(Iterable<? extends ObjectType> objectTypes) Sets the new value of "objectTypes" (any previous value will be replaced)withObjectTypes(ObjectType... objectTypes) Sets the new value of "objectTypes" (any previous value will be replaced)withPackages(Iterable<? extends Package> packages) Sets the new value of "packages" (any previous value will be replaced)withPackages(Package... packages) Sets the new value of "packages" (any previous value will be replaced)withPreviousVersion(String previousVersion) Sets the new value of "previousVersion" (any previous value will be replaced)withPrimitiveTypes(Iterable<? extends PrimitiveType> primitiveTypes) Sets the new value of "primitiveTypes" (any previous value will be replaced)withPrimitiveTypes(PrimitiveType... primitiveTypes) Sets the new value of "primitiveTypes" (any previous value will be replaced)withSchemaVersion(String schemaVersion) Sets the new value of "schemaVersion" (any previous value will be replaced)Sets the new value of "title" (any previous value will be replaced)Sets the new value of "uri" (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
-
withName
Sets the new value of "name" (any previous value will be replaced)- Parameters:
name- New value of the "name" property.
-
withDescription
Sets the new value of "description" (any previous value will be replaced)- Parameters:
description- New value of the "description" property.
-
withIdentifier
Sets the new value of "identifier" (any previous value will be replaced)- Parameters:
identifier- New value of the "identifier" property.
-
withUri
Sets the new value of "uri" (any previous value will be replaced)- Parameters:
uri- New value of the "uri" property.
-
withTitle
Sets the new value of "title" (any previous value will be replaced)- Parameters:
title- New value of the "title" property.
-
addAuthors
Adds the given items to the value of "authors"- Parameters:
authors- Items to add to the value of the "authors" property
-
withAuthors
Sets the new value of "authors" (any previous value will be replaced)- Parameters:
authors- New value of the "authors" property.
-
addAuthors
Adds the given items to the value of "authors"- Parameters:
authors- Items to add to the value of the "authors" property
-
withAuthors
Sets the new value of "authors" (any previous value will be replaced)- Parameters:
authors- New value of the "authors" property.
-
withVersion
Sets the new value of "version" (any previous value will be replaced)- Parameters:
version- New value of the "version" property.
-
withPreviousVersion
Sets the new value of "previousVersion" (any previous value will be replaced)- Parameters:
previousVersion- New value of the "previousVersion" property.
-
withLastModified
Sets the new value of "lastModified" (any previous value will be replaced)- Parameters:
lastModified- New value of the "lastModified" property.
-
addImports
Adds the given items to the value of "imports"- Parameters:
imports- Items to add to the value of the "imports" property
-
withImports
Sets the new value of "imports" (any previous value will be replaced)- Parameters:
imports- New value of the "imports" property.
-
addImports
Adds the given items to the value of "imports"- Parameters:
imports- Items to add to the value of the "imports" property
-
withImports
Sets the new value of "imports" (any previous value will be replaced)- Parameters:
imports- New value of the "imports" property.
-
addImports
Returns a new builder to build an additional value of the "Imports" property. UseModelImport.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Imports" property.
Use
ModelImport.Builder.end()to return to the current builder.
-
addPrimitiveTypes
Adds the given items to the value of "primitiveTypes"- Parameters:
primitiveTypes- Items to add to the value of the "primitiveTypes" property
-
withPrimitiveTypes
Sets the new value of "primitiveTypes" (any previous value will be replaced)- Parameters:
primitiveTypes- New value of the "primitiveTypes" property.
-
addPrimitiveTypes
Adds the given items to the value of "primitiveTypes"- Parameters:
primitiveTypes- Items to add to the value of the "primitiveTypes" property
-
withPrimitiveTypes
Sets the new value of "primitiveTypes" (any previous value will be replaced)- Parameters:
primitiveTypes- New value of the "primitiveTypes" property.
-
addPrimitiveTypes
Returns a new builder to build an additional value of the "PrimitiveTypes" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "PrimitiveTypes" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
addEnumerations
Adds the given items to the value of "enumerations"- Parameters:
enumerations- Items to add to the value of the "enumerations" property
-
withEnumerations
Sets the new value of "enumerations" (any previous value will be replaced)- Parameters:
enumerations- New value of the "enumerations" property.
-
addEnumerations
Adds the given items to the value of "enumerations"- Parameters:
enumerations- Items to add to the value of the "enumerations" property
-
withEnumerations
Sets the new value of "enumerations" (any previous value will be replaced)- Parameters:
enumerations- New value of the "enumerations" property.
-
addEnumerations
Returns a new builder to build an additional value of the "Enumerations" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Enumerations" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
addDataTypes
Adds the given items to the value of "dataTypes"- Parameters:
dataTypes- Items to add to the value of the "dataTypes" property
-
withDataTypes
Sets the new value of "dataTypes" (any previous value will be replaced)- Parameters:
dataTypes- New value of the "dataTypes" property.
-
addDataTypes
Adds the given items to the value of "dataTypes"- Parameters:
dataTypes- Items to add to the value of the "dataTypes" property
-
withDataTypes
Sets the new value of "dataTypes" (any previous value will be replaced)- Parameters:
dataTypes- New value of the "dataTypes" property.
-
addDataTypes
Returns a new builder to build an additional value of the "DataTypes" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "DataTypes" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
addObjectTypes
Adds the given items to the value of "objectTypes"- Parameters:
objectTypes- Items to add to the value of the "objectTypes" property
-
withObjectTypes
Sets the new value of "objectTypes" (any previous value will be replaced)- Parameters:
objectTypes- New value of the "objectTypes" property.
-
addObjectTypes
Adds the given items to the value of "objectTypes"- Parameters:
objectTypes- Items to add to the value of the "objectTypes" property
-
withObjectTypes
Sets the new value of "objectTypes" (any previous value will be replaced)- Parameters:
objectTypes- New value of the "objectTypes" property.
-
addObjectTypes
Returns a new builder to build an additional value of the "ObjectTypes" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "ObjectTypes" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
addPackages
Adds the given items to the value of "packages"- Parameters:
packages- Items to add to the value of the "packages" property
-
withPackages
Sets the new value of "packages" (any previous value will be replaced)- Parameters:
packages- New value of the "packages" property.
-
addPackages
Adds the given items to the value of "packages"- Parameters:
packages- Items to add to the value of the "packages" property
-
withPackages
Sets the new value of "packages" (any previous value will be replaced)- Parameters:
packages- New value of the "packages" property.
-
addPackages
Returns a new builder to build an additional value of the "Packages" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Packages" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
withSchemaVersion
Sets the new value of "schemaVersion" (any previous value will be replaced)- Parameters:
schemaVersion- New value of the "schemaVersion" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable
-
copyOf
-
copyOf
-