Class AbstractCamundaFormFieldBuilder<P,B extends AbstractCamundaFormFieldBuilder<P,B>>
java.lang.Object
org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,CamundaFormField>
org.camunda.bpm.model.bpmn.builder.AbstractCamundaFormFieldBuilder<P,B>
- Direct Known Subclasses:
CamundaStartEventFormFieldBuilder
,CamundaUserTaskFormFieldBuilder
public class AbstractCamundaFormFieldBuilder<P,B extends AbstractCamundaFormFieldBuilder<P,B>>
extends AbstractBpmnModelElementBuilder<B,CamundaFormField>
- Author:
- Kristin Polenz
-
Field Summary
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractCamundaFormFieldBuilder
(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, Class<?> selfType) -
Method Summary
Modifier and TypeMethodDescriptioncamundaDefaultValue
(String defaultValue) Sets the form field default value.Finishes the building of a form field.Sets the form field id.camundaLabel
(String label) Sets form field label.camundaType
(String type) Sets the form field type.Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
Field Details
-
parent
-
-
Constructor Details
-
AbstractCamundaFormFieldBuilder
protected AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, Class<?> selfType)
-
-
Method Details
-
camundaId
Sets the form field id.- Parameters:
id
- the form field id- Returns:
- the builder object
-
camundaLabel
Sets form field label.- Parameters:
label
- the form field label- Returns:
- the builder object
-
camundaType
Sets the form field type.- Parameters:
type
- the form field type- Returns:
- the builder object
-
camundaDefaultValue
Sets the form field default value.- Parameters:
defaultValue
- the form field default value- Returns:
- the builder object
-
camundaFormFieldDone
Finishes the building of a form field.- Returns:
- the parent activity builder
-