public CFSecurityAuditActionBuff getBuff() {
   if (buff == null) {
     buff =
         ((ICFFreeSwitchSchema) getOrigAsAuditAction().getSchema().getBackingStore())
             .getFactoryAuditAction()
             .newBuff();
     buff.set(orig.getBuff());
   }
   return (buff);
 }
 public CFFreeSwitchAuditActionEditObj(ICFSecurityAuditActionObj argOrig) {
   orig = argOrig;
   getBuff();
   CFSecurityAuditActionBuff origBuff = orig.getBuff();
   buff.set(origBuff);
 }
 public void copyOrigToBuff() {
   CFSecurityAuditActionBuff origBuff = getOrigAsAuditAction().getAuditActionBuff();
   CFSecurityAuditActionBuff myBuff = getAuditActionBuff();
   myBuff.set(origBuff);
 }
 public void copyBuffToOrig() {
   CFSecurityAuditActionBuff origBuff = getOrigAsAuditAction().getAuditActionBuff();
   CFSecurityAuditActionBuff myBuff = getAuditActionBuff();
   origBuff.set(myBuff);
 }
 public void createAuditAction(
     CFSecurityAuthorization Authorization, CFSecurityAuditActionBuff Buff) {
   final String S_ProcName = "createAuditAction";
   String rqst =
       CFSecurityXMsgSchemaMessageFormatter.formatRqstXmlPreamble()
           + "\n"
           + "\t"
           + CFSecurityXMsgAuditActionMessageFormatter.formatAuditActionRqstCreate(
               "\n\t\t\t", Buff)
           + "\n"
           + CFSecurityXMsgSchemaMessageFormatter.formatRqstXmlPostamble();
   try {
     schema.getCFTipClientHandler().issueAppRequest(rqst);
   } catch (BadPaddingException e) {
     throw CFLib.getDefaultExceptionFactory()
         .newRuntimeException(
             getClass(), S_ProcName, "Caught BadPaddingException - " + e.getMessage(), e);
   } catch (IllegalBlockSizeException e) {
     throw CFLib.getDefaultExceptionFactory()
         .newRuntimeException(
             getClass(), S_ProcName, "Caught IllegalBlockSizeException - " + e.getMessage(), e);
   } catch (InvalidKeyException e) {
     throw CFLib.getDefaultExceptionFactory()
         .newRuntimeException(
             getClass(), S_ProcName, "Caught InvalidKeyException - " + e.getMessage(), e);
   } catch (NoSuchAlgorithmException e) {
     throw CFLib.getDefaultExceptionFactory()
         .newRuntimeException(
             getClass(), S_ProcName, "Caught NoSuchAlgorithmException - " + e.getMessage(), e);
   } catch (InvalidAlgorithmParameterException e) {
     throw CFLib.getDefaultExceptionFactory()
         .newRuntimeException(
             getClass(),
             S_ProcName,
             "Caught InvalidAlgorithmParameterException - " + e.getMessage(),
             e);
   } catch (NoSuchPaddingException e) {
     throw CFLib.getDefaultExceptionFactory()
         .newRuntimeException(
             getClass(), S_ProcName, "Caught NoSuchPaddingException - " + e.getMessage(), e);
   }
   ICFTipResponseHandler responseHandler = schema.getCFTipClientHandler().getResponseHandler();
   CFLibRuntimeException exceptionRaised = responseHandler.getExceptionRaised();
   if (exceptionRaised != null) {
     throw exceptionRaised;
   }
   Object lastObjectProcessed = responseHandler.getLastObjectProcessed();
   if (lastObjectProcessed != null) {
     ICFSecurityAuditActionObj realized = null;
     if (lastObjectProcessed instanceof ICFSecurityAuditActionObj) {
       realized = (ICFSecurityAuditActionObj) lastObjectProcessed;
     } else {
       throw CFLib.getDefaultExceptionFactory()
           .newUnsupportedClassException(
               getClass(),
               S_ProcName,
               "lastObjectProcessed",
               lastObjectProcessed,
               "ICFSecurityAuditActionObj");
     }
     if (realized != null) {
       Buff.set(realized.getAuditActionBuff());
     }
   } else {
     throw CFLib.getDefaultExceptionFactory()
         .newNullArgumentException(
             getClass(), S_ProcName, 0, "responseHandler.getLastObjectProcessed()");
   }
 }