public CFDbTestLoaderBehaviourBuff lockBuff(
     CFSecurityAuthorization Authorization, CFDbTestLoaderBehaviourPKey PKey) {
   final String S_ProcName = "lockBuff";
   CFDbTestLoaderBehaviourBuff buff = readDerived(Authorization, PKey);
   if ((buff != null) && (!buff.getClassCode().equals("LDBV"))) {
     buff = null;
   }
   return (buff);
 }
 public CFDbTestLoaderBehaviourBuff readBuffByUNameIdx(
     CFSecurityAuthorization Authorization, String Name) {
   final String S_ProcName = "CFDbTestRamLoaderBehaviour.readBuffByUNameIdx() ";
   CFDbTestLoaderBehaviourBuff buff = readDerivedByUNameIdx(Authorization, Name);
   if ((buff != null) && buff.getClassCode().equals("LDBV")) {
     return ((CFDbTestLoaderBehaviourBuff) buff);
   } else {
     return (null);
   }
 }
 public CFDbTestLoaderBehaviourBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFDbTestRamLoaderBehaviour.readAllBuff";
   CFDbTestLoaderBehaviourBuff buff;
   ArrayList<CFDbTestLoaderBehaviourBuff> filteredList =
       new ArrayList<CFDbTestLoaderBehaviourBuff>();
   CFDbTestLoaderBehaviourBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("LDBV")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFDbTestLoaderBehaviourBuff[0]));
 }