org.camunda.bpm.model.bpmn.builder
Class AbstractCamundaFormFieldBuilder<P,B extends AbstractCamundaFormFieldBuilder<P,B>>

java.lang.Object
  extended by org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder<B,CamundaFormField>
      extended by 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
protected  BaseElement parent
           
 
Fields inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
element, modelInstance, myself
 
Constructor Summary
protected AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance, BaseElement parent, CamundaFormField element, Class<?> selfType)
           
 
Method Summary
 B camundaDefaultValue(String defaultValue)
          Sets the form field default value.
 P camundaFormFieldDone()
          Finishes the building of a form field.
 B camundaId(String id)
          Sets the form field id.
 B camundaLabel(String label)
          Sets form field label.
 B camundaType(String type)
          Sets the form field type.
 
Methods inherited from class org.camunda.bpm.model.bpmn.builder.AbstractBpmnModelElementBuilder
done, getElement, subProcessDone, transactionDone
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parent

protected BaseElement parent
Constructor Detail

AbstractCamundaFormFieldBuilder

protected AbstractCamundaFormFieldBuilder(BpmnModelInstance modelInstance,
                                          BaseElement parent,
                                          CamundaFormField element,
                                          Class<?> selfType)
Method Detail

camundaId

public B camundaId(String id)
Sets the form field id.

Parameters:
id - the form field id
Returns:
the builder object

camundaLabel

public B camundaLabel(String label)
Sets form field label.

Parameters:
label - the form field label
Returns:
the builder object

camundaType

public B camundaType(String type)
Sets the form field type.

Parameters:
type - the form field type
Returns:
the builder object

camundaDefaultValue

public B camundaDefaultValue(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


Copyright © 2017 camunda services GmbH. All rights reserved.