Class EnumAttributeBuilder<T extends java.lang.Enum<T>>
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.type.attribute.AttributeBuilderImpl<T>
-
- org.camunda.bpm.model.xml.impl.type.attribute.EnumAttributeBuilder<T>
-
- All Implemented Interfaces:
ModelBuildOperation
,AttributeBuilder<T>
public class EnumAttributeBuilder<T extends java.lang.Enum<T>> extends AttributeBuilderImpl<T>
- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description EnumAttributeBuilder(java.lang.String attributeName, ModelElementTypeImpl modelType, java.lang.Class<T> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumAttributeBuilder<T>
defaultValue(T defaultValue)
EnumAttributeBuilder<T>
idAttribute()
EnumAttributeBuilder<T>
namespace(java.lang.String namespaceUri)
EnumAttributeBuilder<T>
required()
-
Methods inherited from class org.camunda.bpm.model.xml.impl.type.attribute.AttributeBuilderImpl
build, performModelBuild
-
-
-
-
Constructor Detail
-
EnumAttributeBuilder
public EnumAttributeBuilder(java.lang.String attributeName, ModelElementTypeImpl modelType, java.lang.Class<T> type)
-
-
Method Detail
-
namespace
public EnumAttributeBuilder<T> namespace(java.lang.String namespaceUri)
- Specified by:
namespace
in interfaceAttributeBuilder<T extends java.lang.Enum<T>>
- Overrides:
namespace
in classAttributeBuilderImpl<T extends java.lang.Enum<T>>
-
defaultValue
public EnumAttributeBuilder<T> defaultValue(T defaultValue)
- Specified by:
defaultValue
in interfaceAttributeBuilder<T extends java.lang.Enum<T>>
- Overrides:
defaultValue
in classAttributeBuilderImpl<T extends java.lang.Enum<T>>
-
required
public EnumAttributeBuilder<T> required()
- Specified by:
required
in interfaceAttributeBuilder<T extends java.lang.Enum<T>>
- Overrides:
required
in classAttributeBuilderImpl<T extends java.lang.Enum<T>>
-
idAttribute
public EnumAttributeBuilder<T> idAttribute()
- Specified by:
idAttribute
in interfaceAttributeBuilder<T extends java.lang.Enum<T>>
- Overrides:
idAttribute
in classAttributeBuilderImpl<T extends java.lang.Enum<T>>
-
-