public void copyPKeyToBuff() {
   if (buff != null) {
     buff.setRequiredId(getPKey().getRequiredId());
   }
   if (edit != null) {
     edit.copyPKeyToBuff();
   }
 }
 public void copyBuffToPKey() {
   getPKey().setRequiredId(buff.getRequiredId());
 }