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 Modifier and Type Field Description protected BaseElement
parent
-
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, java.lang.Class<?> selfType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
camundaDefaultValue(java.lang.String defaultValue)
Sets the form field default value.P
camundaFormFieldDone()
Finishes the building of a form field.B
camundaId(java.lang.String id)
Sets the form field id.B
camundaLabel(java.lang.String label)
Sets form field label.B
camundaType(java.lang.String type)
Sets the form field type.-
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, throwEventDefinitionDone, transactionDone
-
-
-
-
Field Detail
-
parent
protected BaseElement parent
-
-
Constructor Detail
-
AbstractCamundaFormFieldBuilder
protected AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, java.lang.Class<?> selfType)
-
-
Method Detail
-
camundaId
public B camundaId(java.lang.String id)
Sets the form field id.- Parameters:
id
- the form field id- Returns:
- the builder object
-
camundaLabel
public B camundaLabel(java.lang.String label)
Sets form field label.- Parameters:
label
- the form field label- Returns:
- the builder object
-
camundaType
public B camundaType(java.lang.String type)
Sets the form field type.- Parameters:
type
- the form field type- Returns:
- the builder object
-
camundaDefaultValue
public B camundaDefaultValue(java.lang.String defaultValue)
Sets the form field default value.- Parameters:
defaultValue
- the form field default value- Returns:
- the builder object
-
camundaFormFieldDone
public P camundaFormFieldDone()
Finishes the building of a form field.- Returns:
- the parent activity builder
-
-