Package org.javastro.ivoa.entities.vodml
Class Reference.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.Reference.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- Reference
public static class Reference.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()copyOf(Reference.Builder _other) protected <_P extends Reference>
_Pinit(_P _product) ElementRef.Builder<? extends Reference.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)Multiplicity.Builder<? extends Reference.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
-
-
Method Details
-
init
-
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
-