Package org.javastro.ivoa.entities.vodml
Class ObjectType.Builder<_B>
java.lang.Object
org.javastro.ivoa.entities.vodml.ReferableElement.Builder<_B>
org.javastro.ivoa.entities.vodml.Type.Builder<_B>
org.javastro.ivoa.entities.vodml.ObjectType.Builder<_B>
- All Implemented Interfaces:
com.kscs.util.jaxb.Buildable
- Enclosing class:
- ObjectType
public static class ObjectType.Builder<_B>
extends Type.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, ObjectType _other, boolean _copy) Builder(_B _parentBuilder, ObjectType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
Method Summary
Modifier and TypeMethodDescriptionAttribute.Builder<? extends ObjectType.Builder<_B>>Returns a new builder to build an additional value of the "Attributes" property.addAttributes(Iterable<? extends Attribute> attributes) Adds the given items to the value of "attributes"addAttributes(Attribute... attributes) Adds the given items to the value of "attributes"Composition.Builder<? extends ObjectType.Builder<_B>>Returns a new builder to build an additional value of the "Compositions" property.addCompositions(Iterable<? extends Composition> compositions) Adds the given items to the value of "compositions"addCompositions(Composition... compositions) Adds the given items to the value of "compositions"addConstraints(Iterable<? extends Constraint> constraints) Adds the given items to the value of "constraints"addConstraints(Constraint... constraints) Adds the given items to the value of "constraints"Reference.Builder<? extends ObjectType.Builder<_B>>Returns a new builder to build an additional value of the "References" property.addReferences(Iterable<? extends Reference> references) Adds the given items to the value of "references"addReferences(Reference... references) Adds the given items to the value of "references"build()copyOf(ObjectType _other) copyOf(ObjectType.Builder _other) protected <_P extends ObjectType>
_Pinit(_P _product) withAbstract(Boolean _abstract) Sets the new value of "_abstract" (any previous value will be replaced)withAttributes(Iterable<? extends Attribute> attributes) Sets the new value of "attributes" (any previous value will be replaced)withAttributes(Attribute... attributes) Sets the new value of "attributes" (any previous value will be replaced)withCompositions(Iterable<? extends Composition> compositions) Sets the new value of "compositions" (any previous value will be replaced)withCompositions(Composition... compositions) Sets the new value of "compositions" (any previous value will be replaced)withConstraints(Iterable<? extends Constraint> constraints) Sets the new value of "constraints" (any previous value will be replaced)withConstraints(Constraint... constraints) Sets the new value of "constraints" (any previous value will be replaced)withDescription(String description) Sets the new value of "description" (any previous value will be replaced)ElementRef.Builder<? extends ObjectType.Builder<_B>>Returns the existing builder or a new builder to build the value of the "_extends" property.withExtends(ElementRef _extends) Sets the new value of "_extends" (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)withReferences(Iterable<? extends Reference> references) Sets the new value of "references" (any previous value will be replaced)withReferences(Reference... references) Sets the new value of "references" (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.Type.Builder
addConstraints, 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, ObjectType _other, boolean _copy, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
-
-
Method Details
-
init
-
addAttributes
Adds the given items to the value of "attributes"- Parameters:
attributes- Items to add to the value of the "attributes" property
-
withAttributes
Sets the new value of "attributes" (any previous value will be replaced)- Parameters:
attributes- New value of the "attributes" property.
-
addAttributes
Adds the given items to the value of "attributes"- Parameters:
attributes- Items to add to the value of the "attributes" property
-
withAttributes
Sets the new value of "attributes" (any previous value will be replaced)- Parameters:
attributes- New value of the "attributes" property.
-
addAttributes
Returns a new builder to build an additional value of the "Attributes" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Attributes" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
addCompositions
Adds the given items to the value of "compositions"- Parameters:
compositions- Items to add to the value of the "compositions" property
-
withCompositions
Sets the new value of "compositions" (any previous value will be replaced)- Parameters:
compositions- New value of the "compositions" property.
-
addCompositions
Adds the given items to the value of "compositions"- Parameters:
compositions- Items to add to the value of the "compositions" property
-
withCompositions
Sets the new value of "compositions" (any previous value will be replaced)- Parameters:
compositions- New value of the "compositions" property.
-
addCompositions
Returns a new builder to build an additional value of the "Compositions" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "Compositions" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
addReferences
Adds the given items to the value of "references"- Parameters:
references- Items to add to the value of the "references" property
-
withReferences
Sets the new value of "references" (any previous value will be replaced)- Parameters:
references- New value of the "references" property.
-
addReferences
Adds the given items to the value of "references"- Parameters:
references- Items to add to the value of the "references" property
-
withReferences
Sets the new value of "references" (any previous value will be replaced)- Parameters:
references- New value of the "references" property.
-
addReferences
Returns a new builder to build an additional value of the "References" property. UseReferableElement.Builder.end()to return to the current builder.- Returns:
- a new builder to build an additional value of the "References" property.
Use
ReferableElement.Builder.end()to return to the current builder.
-
withExtends
Sets the new value of "_extends" (any previous value will be replaced)- Overrides:
withExtendsin classType.Builder<_B>- Parameters:
_extends- New value of the "_extends" property.
-
withExtends
Returns the existing builder or a new builder to build the value of the "_extends" property. UseElementRef.Builder.end()to return to the current builder.- Overrides:
withExtendsin classType.Builder<_B>- Returns:
- A new builder to build the value of the "_extends" property.
Use
ElementRef.Builder.end()to return to the current builder.
-
addConstraints
Adds the given items to the value of "constraints"- Overrides:
addConstraintsin classType.Builder<_B>- Parameters:
constraints- Items to add to the value of the "constraints" property
-
addConstraints
Adds the given items to the value of "constraints"- Overrides:
addConstraintsin classType.Builder<_B>- Parameters:
constraints- Items to add to the value of the "constraints" property
-
withConstraints
Sets the new value of "constraints" (any previous value will be replaced)- Overrides:
withConstraintsin classType.Builder<_B>- Parameters:
constraints- New value of the "constraints" property.
-
withConstraints
Sets the new value of "constraints" (any previous value will be replaced)- Overrides:
withConstraintsin classType.Builder<_B>- Parameters:
constraints- New value of the "constraints" property.
-
withAbstract
Sets the new value of "_abstract" (any previous value will be replaced)- Overrides:
withAbstractin classType.Builder<_B>- Parameters:
_abstract- New value of the "_abstract" property.
-
withVodmlId
Sets the new value of "vodmlId" (any previous value will be replaced)- Overrides:
withVodmlIdin classType.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 classType.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 classType.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 classType.Builder<_B>- Parameters:
id- New value of the "id" property.
-
build
- Specified by:
buildin interfacecom.kscs.util.jaxb.Buildable- Overrides:
buildin classType.Builder<_B>
-
copyOf
-
copyOf
-