public void endElement(String uri, String localName, String qName) throws SAXException { final String S_ProcName = "endElement"; assert qName.equals("JavaEditObjMembers"); CFLibXmlCoreContext curContext = getParser().getCurContext(); if (!CFBamXmlLoader.getProcessSchema(curContext)) { return; } CFLibXmlCoreContext parentContext = curContext.getPrevContext(); ICFBamTableObj table; if (parentContext != null) { table = (ICFBamTableObj) parentContext.getNamedValue("Object"); } else { throw CFLib.getDefaultExceptionFactory() .newRuntimeException(getClass(), S_ProcName, "Scope must be an existing Table element"); } String text = curContext.getElementText(); ICFBamTableEditObj editTable = (ICFBamTableEditObj) table.beginEdit(); editTable.setOptionalJEditObjMembers(text); editTable.update(); editTable.endEdit(); }
public void setOptionalLookupRetTable(ICFBamTableObj value) { if (buff == null) { getServerListFuncBuff(); } if (value != null) { getServerListFuncBuff().setOptionalRetTenantId(value.getRequiredTenantId()); getServerListFuncBuff().setOptionalRetTableId(value.getRequiredId()); } else { getServerListFuncBuff().setOptionalRetTenantId(null); getServerListFuncBuff().setOptionalRetTableId(null); } optionalLookupRetTable = value; }