Package org.javastro.ivoa.entities.vodml
Class Composition.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement.Builder<_B>
org.javastro.ivoa.entities.vodml.Role.Builder<_B>
org.javastro.ivoa.entities.vodml.Relation.Builder<_B>
org.javastro.ivoa.entities.vodml.Composition.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- Composition
public static class Composition.Builder<_B>
extends Relation.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
ConstructorsConstructorDescriptionBuilder(_B _parentBuilder, Composition _other, boolean _copy) Builder(_B _parentBuilder, Composition _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
Method Summary
Modifier and TypeMethodDescriptionbuild()copyOf(Composition _other) copyOf(Composition.Builder _other) protected <_P extends Composition>
_Pinit(_P _product) ElementRef.Builder<? extends Composition.Builder<_B>>Returns the existing builder or a new builder to build the value of the "datatype" property.withDatatype(ElementRef datatype) Sets the new value of "datatype" (any previous value will be replaced)withDescription(String description) Sets the new value of "description" (any previous value will be replaced)Sets the new value of "id" (any previous value will be replaced)withIsOrdered(Boolean isOrdered) Sets the new value of "isOrdered" (any previous value will be replaced)Multiplicity.Builder<? extends Composition.Builder<_B>>Returns the existing builder or a new builder to build the value of the "multiplicity" property.withMultiplicity(Multiplicity multiplicity) Sets the new value of "multiplicity" (any previous value will be replaced)Sets the new value of "name" (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.Relation.Builder
copyOf, copyOf, initMethods inherited from class org.javastro.ivoa.entities.vodml.Role.Builder
copyOf, copyOf, initMethods inherited from class org.javastro.ivoa.entities.vodml.ReferableElement.Builder
copyOf, copyOf, end, init
-
Constructor Details
-
Builder
-
Builder
public Builder(_B _parentBuilder, Composition _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
init
-
withIsOrdered
Sets the new value of "isOrdered" (any previous value will be replaced)- Parameters:
isOrdered- New value of the "isOrdered" property.
-
withDatatype
Sets the new value of "datatype" (any previous value will be replaced)- Overrides:
withDatatypein classRelation.Builder<_B>- Parameters:
datatype- New value of the "datatype" property.
-
withDatatype
Returns the existing builder or a new builder to build the value of the "datatype" property. UseElementRef.Builder.end()to return to the current builder.- Overrides:
withDatatypein classRelation.Builder<_B>- Returns:
- A new builder to build the value of the "datatype" property.
Use
ElementRef.Builder.end()to return to the current builder.
-
withMultiplicity
Sets the new value of "multiplicity" (any previous value will be replaced)- Overrides:
withMultiplicityin classRelation.Builder<_B>- Parameters:
multiplicity- New value of the "multiplicity" property.
-
withMultiplicity
Returns the existing builder or a new builder to build the value of the "multiplicity" property. UseMultiplicity.Builder.end()to return to the current builder.- Overrides:
withMultiplicityin classRelation.Builder<_B>- Returns:
- A new builder to build the value of the "multiplicity" property.
Use
Multiplicity.Builder.end()to return to the current builder.
-
withVodmlId
Sets the new value of "vodmlId" (any previous value will be replaced)- Overrides:
withVodmlIdin classRelation.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 classRelation.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 classRelation.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 classRelation.Builder<_B>- Parameters:
id- New value of the "id" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classRelation.Builder<_B>
-
copyOf
-
copyOf
-