public Field createFieldTextBarcode(
            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.putJson(
                formFieldParam, WS.Path.FormField.Version1.formFieldCreate()));
    }
public Field createFieldTextBarcode(
            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.putJson(
                formFieldParam, WS.Path.FormField.Version1.formFieldCreate()));
    }
public Field createFieldTextBarcode ( 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 . putJson ( formFieldParam , WS . Path . FormField . Version1 . formFieldCreate ( ) ) ) ; }
Create a new Text Barcode field.

@param formFieldParam Field to Create.
@param barcodeTypeParam The type of barcode.
@return Created Field.

@see com.fluidbpm.ws.client.v1.ABaseFieldClient.FieldMetaData.Text
Create a new Text Barcode field .