Class ModelElementTypeBuilderImpl
java.lang.Object
org.camunda.bpm.model.xml.impl.type.ModelElementTypeBuilderImpl
- All Implemented Interfaces:
ModelBuildOperation,ModelElementTypeBuilder
public class ModelElementTypeBuilderImpl
extends Object
implements ModelElementTypeBuilder, ModelBuildOperation
- Author:
- Daniel Meyer
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.camunda.bpm.model.xml.type.ModelElementTypeBuilder
ModelElementTypeBuilder.ModelTypeInstanceProvider<T extends ModelElementInstance> -
Constructor Summary
ConstructorsConstructorDescriptionModelElementTypeBuilderImpl(Class<? extends ModelElementInstance> instanceType, String name, ModelImpl model) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAttribute(String attributeName) build()voidbuildTypeHierarchy(Model model) doubleAttribute(String attributeName) <V extends Enum<V>>
AttributeBuilder<V>enumAttribute(String attributeName, Class<V> enumType) extendsType(Class<? extends ModelElementInstance> extendedType) <T extends ModelElementInstance>
ModelElementTypeBuilderinstanceProvider(ModelElementTypeBuilder.ModelTypeInstanceProvider<T> instanceProvider) integerAttribute(String attributeName) <V extends Enum<V>>
AttributeBuilder<V>namedEnumAttribute(String attributeName, Class<V> enumType) namespaceUri(String namespaceUri) voidperformModelBuild(Model model) sequence()stringAttribute(String attributeName)
-
Constructor Details
-
ModelElementTypeBuilderImpl
public ModelElementTypeBuilderImpl(Class<? extends ModelElementInstance> instanceType, String name, ModelImpl model)
-
-
Method Details
-
extendsType
- Specified by:
extendsTypein interfaceModelElementTypeBuilder
-
instanceProvider
public <T extends ModelElementInstance> ModelElementTypeBuilder instanceProvider(ModelElementTypeBuilder.ModelTypeInstanceProvider<T> instanceProvider) - Specified by:
instanceProviderin interfaceModelElementTypeBuilder
-
namespaceUri
- Specified by:
namespaceUriin interfaceModelElementTypeBuilder
-
booleanAttribute
- Specified by:
booleanAttributein interfaceModelElementTypeBuilder
-
stringAttribute
- Specified by:
stringAttributein interfaceModelElementTypeBuilder
-
integerAttribute
- Specified by:
integerAttributein interfaceModelElementTypeBuilder
-
doubleAttribute
- Specified by:
doubleAttributein interfaceModelElementTypeBuilder
-
enumAttribute
public <V extends Enum<V>> AttributeBuilder<V> enumAttribute(String attributeName, Class<V> enumType) - Specified by:
enumAttributein interfaceModelElementTypeBuilder
-
namedEnumAttribute
public <V extends Enum<V>> AttributeBuilder<V> namedEnumAttribute(String attributeName, Class<V> enumType) - Specified by:
namedEnumAttributein interfaceModelElementTypeBuilder
-
build
- Specified by:
buildin interfaceModelElementTypeBuilder
-
abstractType
- Specified by:
abstractTypein interfaceModelElementTypeBuilder
-
sequence
- Specified by:
sequencein interfaceModelElementTypeBuilder
-
buildTypeHierarchy
-
performModelBuild
- Specified by:
performModelBuildin interfaceModelBuildOperation
-