public CFBamDelSubDep3Buff readBuffByIdIdx(
     CFBamAuthorization Authorization, long TenantId, long Id) {
   final String S_ProcName = "CFBamRamScope.readBuffByIdIdx() ";
   CFBamScopeBuff buff = readDerivedByIdIdx(Authorization, TenantId, Id);
   if ((buff != null) && buff.getClassCode().equals("SCOP")) {
     return ((CFBamDelSubDep3Buff) buff);
   } else {
     return (null);
   }
 }
 public CFBamDelSubDep3Buff[] readBuffByTenantIdx(
     CFBamAuthorization Authorization, long TenantId) {
   final String S_ProcName = "CFBamRamScope.readBuffByTenantIdx() ";
   CFBamScopeBuff buff;
   ArrayList<CFBamDelSubDep3Buff> filteredList = new ArrayList<CFBamDelSubDep3Buff>();
   CFBamScopeBuff[] buffList = readDerivedByTenantIdx(Authorization, TenantId);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("SCOP")) {
       filteredList.add((CFBamDelSubDep3Buff) buff);
     }
   }
   return (filteredList.toArray(new CFBamDelSubDep3Buff[0]));
 }