public CFDbTestNumberDefBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFDbTestRamNumberDef.readAllBuff";
   CFDbTestNumberDefBuff buff;
   ArrayList<CFDbTestNumberDefBuff> filteredList = new ArrayList<CFDbTestNumberDefBuff>();
   CFDbTestNumberDefBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("NUMD")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFDbTestNumberDefBuff[0]));
 }
 public CFDbTestNumberDefBuff[] readBuffByNextIdx(
     CFSecurityAuthorization Authorization, Long NextTenantId, Long NextId) {
   final String S_ProcName = "CFDbTestRamValue.readBuffByNextIdx() ";
   CFDbTestNumberDefBuff buff;
   ArrayList<CFDbTestNumberDefBuff> filteredList = new ArrayList<CFDbTestNumberDefBuff>();
   CFDbTestNumberDefBuff[] buffList = readDerivedByNextIdx(Authorization, NextTenantId, NextId);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("VALU")) {
       filteredList.add((CFDbTestNumberDefBuff) buff);
     }
   }
   return (filteredList.toArray(new CFDbTestNumberDefBuff[0]));
 }
 public CFDbTestNumberDefBuff[] readDerivedByNextIdx(
     CFSecurityAuthorization Authorization, Long NextTenantId, Long NextId) {
   final String S_ProcName = "CFDbTestRamValue.readDerivedByNextIdx";
   CFDbTestValueBuff buffList[] =
       schema.getTableValue().readDerivedByNextIdx(Authorization, NextTenantId, NextId);
   if (buffList == null) {
     return (null);
   } else {
     CFDbTestValueBuff buff;
     ArrayList<CFDbTestNumberDefBuff> filteredList = new ArrayList<CFDbTestNumberDefBuff>();
     for (int idx = 0; idx < buffList.length; idx++) {
       buff = buffList[idx];
       if ((buff != null) && (buff instanceof CFDbTestNumberDefBuff)) {
         filteredList.add((CFDbTestNumberDefBuff) buff);
       }
     }
     return (filteredList.toArray(new CFDbTestNumberDefBuff[0]));
   }
 }