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