Exemplo n.º 1
0
        ///
        ///	 <summary> * create an update audit for this
        ///	 *
        ///	 * @return </summary>
        ///
        public virtual JDFAudit createUpdateAudit()
        {
            JDFAuditPool pool = getAuditPool();

            if (pool == null)
            {
                return(null);
            }
            JDFAudit copy = (JDFAudit)pool.copyElement(this, null);

            copy.removeAttribute(AttributeName.ID);
            copy.removeAttribute(AttributeName.AGENTNAME);
            copy.removeAttribute(AttributeName.AGENTVERSION);
            copy.init();
            copy.setRef(this);
            return(copy);
        }