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);
 }