fluid-ws-java-client/src/main/java/com/fluidbpm/ws/client/v1/form/FormFieldClient.java
public Field createFieldMultiChoicePlain(
            Field formFieldParam, List<String> multiChoiceValuesParam)
    {
        if(formFieldParam != null && this.serviceTicket != null)
        {
            formFieldParam.setServiceTicket(this.serviceTicket);
        }

        if(multiChoiceValuesParam == null)
        {
            multiChoiceValuesParam = new ArrayList();
        }

        if(formFieldParam != null)
        {
            formFieldParam.setTypeAsEnum(Field.Type.MultipleChoice);
            formFieldParam.setTypeMetaData(FieldMetaData.MultiChoice.PLAIN);
            formFieldParam.setFieldValue(new MultiChoice(multiChoiceValuesParam));
        }

        return new Field(this.putJson(
                formFieldParam, WS.Path.FormField.Version1.formFieldCreate()));
    }
public Field createFieldMultiChoicePlain(
            Field formFieldParam, List<String> multiChoiceValuesParam)
    {
        if(formFieldParam != null && this.serviceTicket != null)
        {
            formFieldParam.setServiceTicket(this.serviceTicket);
        }

        if(multiChoiceValuesParam == null)
        {
            multiChoiceValuesParam = new ArrayList();
        }

        if(formFieldParam != null)
        {
            formFieldParam.setTypeAsEnum(Field.Type.MultipleChoice);
            formFieldParam.setTypeMetaData(FieldMetaData.MultiChoice.PLAIN);
            formFieldParam.setFieldValue(new MultiChoice(multiChoiceValuesParam));
        }

        return new Field(this.putJson(
                formFieldParam, WS.Path.FormField.Version1.formFieldCreate()));
    }
public Field createFieldMultiChoicePlain ( Field formFieldParam , List < String > multiChoiceValuesParam ) { if ( formFieldParam != null && this . serviceTicket != null ) { formFieldParam . setServiceTicket ( this . serviceTicket ) ; } if ( multiChoiceValuesParam == null ) { multiChoiceValuesParam = new ArrayList ( ) ; } if ( formFieldParam != null ) { formFieldParam . setTypeAsEnum ( Field . Type . MultipleChoice ) ; formFieldParam . setTypeMetaData ( FieldMetaData . MultiChoice . PLAIN ) ; formFieldParam . setFieldValue ( new MultiChoice ( multiChoiceValuesParam ) ) ; } return new Field ( this . putJson ( formFieldParam , WS . Path . FormField . Version1 . formFieldCreate ( ) ) ) ; }
Create a new Multi Choice field.

@param formFieldParam Field to Create.
@param multiChoiceValuesParam The available multi choice values.
@return Created Field.
Create a new Multi Choice field .