public void copyPKeyToBuff() {
   if (buff != null) {
     buff.setRequiredTenantId(getPKey().getRequiredTenantId());
     buff.setRequiredId(getPKey().getRequiredId());
   }
   if (edit != null) {
     edit.copyPKeyToBuff();
   }
 }
 public ICFSecuritySecUserObj getUpdatedBy() {
   if (updatedBy == null) {
     CFBamChainBuff buff = getBuff();
     updatedBy =
         ((ICFBamSchemaObj) getSchema())
             .getSecUserTableObj()
             .readSecUserByIdIdx(buff.getUpdatedByUserId());
   }
   return (updatedBy);
 }
 public void copyBuffToPKey() {
   getPKey().setRequiredTenantId(buff.getRequiredTenantId());
   getPKey().setRequiredId(buff.getRequiredId());
 }