Package org.javastro.ivoa.entities.vodml
Class Role.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement.Builder<_B>
org.javastro.ivoa.entities.vodml.Role.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Direct Known Subclasses:
Attribute.Builder,Relation.Builder
- Enclosing class:
- Role
public static class Role.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 TypeMethodDescriptionbuild()copyOf(Role.Builder _other) protected <_P extends Role>
_Pinit(_P _product) ElementRef.Builder<? extends Role.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 Role.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.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)- 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.- 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)- 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.- 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 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
-