public String expandBody(MssCFGenContext genContext) { ICFLibAnyObj genDef; final String S_ProcName = "expandBody"; if (genContext == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 1, "genContext"); } genDef = genContext.getGenDef(); if (genDef == null) { throw CFLib.getDefaultExceptionFactory() .newNullArgumentException(getClass(), S_ProcName, 0, "genContext.GenDef"); } if (!(genDef instanceof ICFBamTableObj)) { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException(getClass(), S_ProcName, "genDef", genDef, "ICFBamTableObj"); } ICFBamTableObj tableObj = (ICFBamTableObj) genDef; ICFBamIndexObj primaryKeyIndex = MSSBamCFTableObj.getPrimaryKeyIndex(tableObj); String ret; if (primaryKeyIndex != null) { ret = "yes"; } else { ret = "no"; } return (ret); }