public void setJavaFXFocus(ICFLibAnyObj value) { final String S_ProcName = "setJavaFXFocus"; if ((value == null) || (value instanceof ICFBamServerMethodObj)) { super.setJavaFXFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "value", value, "ICFBamServerMethodObj"); } ((ICFBamJavaFXServerMethodPaneCommon) javafxAddPane).setJavaFXFocus(value); ICFBamServerMethodObj argFocus = (ICFBamServerMethodObj) value; if ((argFocus != null) && (!argFocus.getIsNew())) { argFocus = (ICFBamServerMethodObj) argFocus.read(true); super.setJavaFXFocus(argFocus); } }