public void postFields() { final String S_ProcName = "postFields"; ICFSecurityISOCurrencyObj focus = getSwingFocusAsISOCurrency(); ICFSecurityISOCurrencyEditObj editObj; if (focus != null) { editObj = (ICFSecurityISOCurrencyEditObj) (focus.getEdit()); } else { editObj = null; } if (editObj == null) { throw CFLib.getDefaultExceptionFactory() .newUsageException( getClass(), S_ProcName, "Panel is unfocused or is not editing the focus object"); } // You are not allowed to edit the Container or Owner references, so they're not retrieved editObj.setRequiredISOCode(getSwingEditorISOCode().getStringValue()); editObj.setRequiredName(getSwingEditorName().getStringValue()); editObj.setOptionalUnitSymbol(getSwingEditorUnitSymbol().getStringValue()); editObj.setOptionalFracSymbol(getSwingEditorFracSymbol().getStringValue()); editObj.setRequiredPrecis(getSwingEditorPrecis().getInt16Value()); }