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

        if(barcodeTypeParam == null || barcodeTypeParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "Barcode type cannot be empty.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        if(formFieldParam != null)
        {
            formFieldParam.setTypeAsEnum(Field.Type.Text);
            formFieldParam.setTypeMetaData(FieldMetaData.Text.BARCODE.concat(barcodeTypeParam));
        }

        return new Field(this.postJson(
                formFieldParam, WS.Path.FormField.Version1.formFieldUpdate()));
    }
public Field updateFieldTextBarcode(Field formFieldParam, String barcodeTypeParam)
    {
        if(formFieldParam != null && this.serviceTicket != null)
        {
            formFieldParam.setServiceTicket(this.serviceTicket);
        }

        if(barcodeTypeParam == null || barcodeTypeParam.trim().isEmpty())
        {
            throw new FluidClientException(
                    "Barcode type cannot be empty.",
                    FluidClientException.ErrorCode.FIELD_VALIDATE);
        }

        if(formFieldParam != null)
        {
            formFieldParam.setTypeAsEnum(Field.Type.Text);
            formFieldParam.setTypeMetaData(FieldMetaData.Text.BARCODE.concat(barcodeTypeParam));
        }

        return new Field(this.postJson(
                formFieldParam, WS.Path.FormField.Version1.formFieldUpdate()));
    }
Update an existing Barcode Text field.

@param formFieldParam Field to Update.
@param barcodeTypeParam The new type of barcode image.
@return Updated Field.