public ICFSecuritySecUserObj getUpdatedBy() {
   if (updatedBy == null) {
     CFSecurityServiceTypeBuff buff = getBuff();
     updatedBy =
         ((ICFBamSchemaObj) getSchema())
             .getSecUserTableObj()
             .readSecUserByIdIdx(buff.getUpdatedByUserId());
   }
   return (updatedBy);
 }
 public CFSecurityServiceTypeBuff getBuff() {
   if (buff == null) {
     buff =
         ((ICFBamSchema) getOrigAsServiceType().getSchema().getBackingStore())
             .getFactoryServiceType()
             .newBuff();
     buff.set(orig.getBuff());
   }
   return (buff);
 }
 public CFBamServiceTypeEditObj(ICFSecurityServiceTypeObj argOrig) {
   orig = argOrig;
   getBuff();
   CFSecurityServiceTypeBuff origBuff = orig.getBuff();
   buff.set(origBuff);
 }
 public void copyOrigToBuff() {
   CFSecurityServiceTypeBuff origBuff = getOrigAsServiceType().getServiceTypeBuff();
   CFSecurityServiceTypeBuff myBuff = getServiceTypeBuff();
   myBuff.set(origBuff);
 }
 public void copyBuffToOrig() {
   CFSecurityServiceTypeBuff origBuff = getOrigAsServiceType().getServiceTypeBuff();
   CFSecurityServiceTypeBuff myBuff = getServiceTypeBuff();
   origBuff.set(myBuff);
 }
 public void copyBuffToPKey() {
   getPKey().setRequiredServiceTypeId(buff.getRequiredServiceTypeId());
 }
 public void copyPKeyToBuff() {
   buff.setRequiredServiceTypeId(getPKey().getRequiredServiceTypeId());
 }