public Field createFieldTextMasked ( Field formFieldParam , String maskValueParam ) { if ( formFieldParam != null && this . serviceTicket != null ) { formFieldParam . setServiceTicket ( this . serviceTicket ) ; } if ( maskValueParam == null || maskValueParam . trim ( ) . isEmpty ( ) ) { maskValueParam = "" ; } if ( formFieldParam != null ) { formFieldParam . setTypeAsEnum ( Field . Type . Text ) ; formFieldParam . setTypeMetaData ( FieldMetaData . Text . MASKED . concat ( maskValueParam ) ) ; } return new Field ( this . putJson ( formFieldParam , WS . Path . FormField . Version1 . formFieldCreate ( ) ) ) ; }
Create a new Text Masked field .