public CFDbTestOptFullRangeBuff readBuffByIdIdx(CFSecurityAuthorization Authorization, short Id) {
   final String S_ProcName = "CFDbTestRamOptFullRange.readBuffByIdIdx() ";
   CFDbTestOptFullRangeBuff buff = readDerivedByIdIdx(Authorization, Id);
   if ((buff != null) && buff.getClassCode().equals("OFLR")) {
     return ((CFDbTestOptFullRangeBuff) buff);
   } else {
     return (null);
   }
 }
 public CFDbTestOptFullRangeBuff lockBuff(
     CFSecurityAuthorization Authorization, CFDbTestOptFullRangePKey PKey) {
   final String S_ProcName = "lockBuff";
   CFDbTestOptFullRangeBuff buff = readDerived(Authorization, PKey);
   if ((buff != null) && (!buff.getClassCode().equals("OFLR"))) {
     buff = null;
   }
   return (buff);
 }
 public CFDbTestOptFullRangeBuff readBuffByUDescrIdx(
     CFSecurityAuthorization Authorization, long TenantId, String Description) {
   final String S_ProcName = "CFDbTestRamOptFullRange.readBuffByUDescrIdx() ";
   CFDbTestOptFullRangeBuff buff = readDerivedByUDescrIdx(Authorization, TenantId, Description);
   if ((buff != null) && buff.getClassCode().equals("OFLR")) {
     return ((CFDbTestOptFullRangeBuff) buff);
   } else {
     return (null);
   }
 }
 public CFDbTestOptFullRangeBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFDbTestRamOptFullRange.readAllBuff";
   CFDbTestOptFullRangeBuff buff;
   ArrayList<CFDbTestOptFullRangeBuff> filteredList = new ArrayList<CFDbTestOptFullRangeBuff>();
   CFDbTestOptFullRangeBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("OFLR")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFDbTestOptFullRangeBuff[0]));
 }