Package org.camunda.bpm.model.xml.type
Interface ModelElementTypeBuilder
-
- All Known Implementing Classes:
ModelElementTypeBuilderImpl
public interface ModelElementTypeBuilder
- Author:
- Daniel Meyer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ModelElementTypeBuilder.ModelTypeInstanceProvider<T extends ModelElementInstance>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModelElementTypeBuilder
abstractType()
AttributeBuilder<java.lang.Boolean>
booleanAttribute(java.lang.String attributeName)
ModelElementType
build()
AttributeBuilder<java.lang.Double>
doubleAttribute(java.lang.String attributeName)
<V extends java.lang.Enum<V>>
AttributeBuilder<V>enumAttribute(java.lang.String attributeName, java.lang.Class<V> enumType)
ModelElementTypeBuilder
extendsType(java.lang.Class<? extends ModelElementInstance> extendedType)
<T extends ModelElementInstance>
ModelElementTypeBuilderinstanceProvider(ModelElementTypeBuilder.ModelTypeInstanceProvider<T> instanceProvider)
AttributeBuilder<java.lang.Integer>
integerAttribute(java.lang.String attributeName)
<V extends java.lang.Enum<V>>
AttributeBuilder<V>namedEnumAttribute(java.lang.String attributeName, java.lang.Class<V> enumType)
ModelElementTypeBuilder
namespaceUri(java.lang.String namespaceUri)
SequenceBuilder
sequence()
StringAttributeBuilder
stringAttribute(java.lang.String attributeName)
-
-
-
Method Detail
-
namespaceUri
ModelElementTypeBuilder namespaceUri(java.lang.String namespaceUri)
-
extendsType
ModelElementTypeBuilder extendsType(java.lang.Class<? extends ModelElementInstance> extendedType)
-
instanceProvider
<T extends ModelElementInstance> ModelElementTypeBuilder instanceProvider(ModelElementTypeBuilder.ModelTypeInstanceProvider<T> instanceProvider)
-
abstractType
ModelElementTypeBuilder abstractType()
-
booleanAttribute
AttributeBuilder<java.lang.Boolean> booleanAttribute(java.lang.String attributeName)
-
stringAttribute
StringAttributeBuilder stringAttribute(java.lang.String attributeName)
-
integerAttribute
AttributeBuilder<java.lang.Integer> integerAttribute(java.lang.String attributeName)
-
doubleAttribute
AttributeBuilder<java.lang.Double> doubleAttribute(java.lang.String attributeName)
-
enumAttribute
<V extends java.lang.Enum<V>> AttributeBuilder<V> enumAttribute(java.lang.String attributeName, java.lang.Class<V> enumType)
-
namedEnumAttribute
<V extends java.lang.Enum<V>> AttributeBuilder<V> namedEnumAttribute(java.lang.String attributeName, java.lang.Class<V> enumType)
-
sequence
SequenceBuilder sequence()
-
build
ModelElementType build()
-
-