Package org.javastro.ivoa.entities.vodml
Class Package.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement.Builder<_B>
org.javastro.ivoa.entities.vodml.Package.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- Package
public static class Package.Builder<_B>
extends ReferableElement.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.vodml.ReferableElement.Builder
_parentBuilder, _storedValue -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDataType.Builder<? extends Package.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 Package.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"ObjectType.Builder<? extends Package.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 Package.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 Package.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(Package.Builder _other) protected <_P extends Package>
_Pinit(_P _product) 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)Sets the new value of "id" (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)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)withVodmlId(String vodmlId) Sets the new value of "vodmlId" (any previous value will be replaced)Methods inherited from class org.javastro.ivoa.entities.vodml.ReferableElement.Builder
copyOf, copyOf, end, init
-
Constructor Details
-
Builder
-
Builder
-
-
Method Details
-
init
-
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.
-
withVodmlId
Sets the new value of "vodmlId" (any previous value will be replaced)- Overrides:
withVodmlIdin classReferableElement.Builder<_B>- Parameters:
vodmlId- New value of the "vodmlId" property.
-
withName
Sets the new value of "name" (any previous value will be replaced)- Overrides:
withNamein classReferableElement.Builder<_B>- Parameters:
name- New value of the "name" property.
-
withDescription
Sets the new value of "description" (any previous value will be replaced)- Overrides:
withDescriptionin classReferableElement.Builder<_B>- Parameters:
description- New value of the "description" property.
-
withId
Sets the new value of "id" (any previous value will be replaced)- Overrides:
withIdin classReferableElement.Builder<_B>- Parameters:
id- New value of the "id" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classReferableElement.Builder<_B>
-
copyOf
-
copyOf
-