code: public void setMask(String mask) {
  		if (mask != null && !mask.isEmpty()) {
  			AddResourcesListener.addResourceToHeadButAfterJQuery(C.BSF_LIBRARY, "js/jquery.inputmask.bundle.min.js");
  		}
      getStateHelper().put(PropertyKeys.mask, mask);
  	}
docs: Sets input mask and triggers JavaScript to be loaded.
  
  @param mask Input mask to set.