public CFGenKbISOCountryCurrencyBuff lockBuff(
     CFGenKbAuthorization Authorization, CFGenKbISOCountryCurrencyPKey PKey) {
   final String S_ProcName = "CFGenKbRamISOCountryCurrency.readBuff() ";
   CFGenKbISOCountryCurrencyBuff buff = readDerived(Authorization, PKey);
   if ((buff != null) && (!buff.getClassCode().equals("ICCY"))) {
     buff = null;
   }
   return (buff);
 }
 public CFGenKbISOCountryCurrencyBuff readBuffByIdIdx(
     CFGenKbAuthorization Authorization, short ISOCountryId, short ISOCurrencyId) {
   final String S_ProcName = "CFGenKbRamISOCountryCurrency.readBuffByIdIdx() ";
   CFGenKbISOCountryCurrencyBuff buff =
       readDerivedByIdIdx(Authorization, ISOCountryId, ISOCurrencyId);
   if ((buff != null) && buff.getClassCode().equals("ICCY")) {
     return ((CFGenKbISOCountryCurrencyBuff) buff);
   } else {
     return (null);
   }
 }
 public CFGenKbISOCountryCurrencyBuff[] readAllBuff(CFGenKbAuthorization Authorization) {
   final String S_ProcName = "CFGenKbRamISOCountryCurrency.readAllBuff() ";
   CFGenKbISOCountryCurrencyBuff buff;
   ArrayList<CFGenKbISOCountryCurrencyBuff> filteredList =
       new ArrayList<CFGenKbISOCountryCurrencyBuff>();
   CFGenKbISOCountryCurrencyBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("ICCY")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFGenKbISOCountryCurrencyBuff[0]));
 }