public ICFSecurityISOCountryObj readISOCountry(CFSecurityISOCountryPKey pkey, boolean forceRead) { ICFSecurityISOCountryObj obj = null; if ((!forceRead) && members.containsKey(pkey)) { obj = members.get(pkey); } else { CFSecurityISOCountryBuff readBuff = ((ICFInternetSchema) schema.getBackingStore()) .getTableISOCountry() .readDerivedByIdIdx(schema.getAuthorization(), pkey.getRequiredId()); if (readBuff != null) { obj = schema.getISOCountryTableObj().newInstance(); obj.setPKey( ((ICFInternetSchema) schema.getBackingStore()).getFactoryISOCountry().newPKey()); obj.setBuff(readBuff); obj = (ICFSecurityISOCountryObj) obj.realize(); } else if (schema.getCacheMisses()) { members.put(pkey, null); } } return (obj); }
public static String formatISOCountryPKeyAttributes( String separator, CFSecurityISOCountryPKey pkey) { String retval = CFLibXmlUtil.formatRequiredInt16(null, "Id", pkey.getRequiredId()); return (retval); }