Class JDFAudit

    • Constructor Detail

      • JDFAudit

        public JDFAudit​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                        java.lang.String qualifiedName)
        Constructor for JDFAudit
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFAudit

        public JDFAudit​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                        java.lang.String myNamespaceURI,
                        java.lang.String qualifiedName)
        Constructor for JDFAudit
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFAudit

        public JDFAudit​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                        java.lang.String myNamespaceURI,
                        java.lang.String qualifiedName,
                        java.lang.String myLocalName)
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
        myLocalName -
    • Method Detail

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • compare

        public int compare​(JDFAudit a1,
                           JDFAudit a2)
        sort by timestamp
        Specified by:
        compare in interface java.util.Comparator<JDFAudit>
        Parameters:
        a1 - an audit
        a2 - another audit
        Returns:
        See Also:
        Comparator.compare(java.lang.Object, java.lang.Object), Comparator.compare(java.lang.Object, java.lang.Object)
      • setSeverity

        @Deprecated
        public void setSeverity​(JDFAudit.EnumSeverity s)
        Deprecated.
        - only valid in the respective subclasses
        SetSeverity
        Parameters:
        s -
      • getSeverity

        @Deprecated
        public JDFAudit.EnumSeverity getSeverity()
        Deprecated.
        - only valid in the respective subclasses
        GetSeverity
        Returns:
        EnumSeverity
      • setEndStatus

        @Deprecated
        public void setEndStatus​(JDFElement.EnumNodeStatus s)
        Deprecated.
        - only valid in the respective subclasses
        SetEndStatus
        Parameters:
        s -
      • getPhase

        @Deprecated
        public JDFElement.EnumNodeStatus getPhase()
        Deprecated.
        use JDFPhaseTime.getStatus()
        GetPhase
        Returns:
        JDFElement.EnumNodeStatus
      • setPart

        @Deprecated
        public void setPart​(JDFAttributeMap m)
        Deprecated.
        2005-10-20 - use setPartMap() in the various subclasses instead
        SetPart
        Parameters:
        m -
      • setRef

        public void setRef​(JDFAudit previous)
        Set attribute refID to the ID of previous
        Parameters:
        previous - the previous audit that is referenced
      • setBy

        @Deprecated
        public void setBy​(java.lang.String by)
        Deprecated.
        2005-09-01 use setAuthor()
        SetBy
        Parameters:
        by -
      • updateAgent

        public void updateAgent​(java.lang.String by)
        Parameters:
        by -
      • software

        public static java.lang.String software()
        Software
        Returns:
        String
      • getIDPrefix

        public java.lang.String getIDPrefix()
        Description copied from class: KElement
        getIDPrefix
        Overrides:
        getIDPrefix in class KElement
        Returns:
        the default ID prefix of non-overwritten JDF elements
        See Also:
        KElement.getIDPrefix()
      • setTimeStamp

        @Deprecated
        public void setTimeStamp()
        Deprecated.
        2005-12-02 use setTimeStamp(null)
        SetTimeStamp
      • getTimeStampDate

        @Deprecated
        public JDFDate getTimeStampDate()
        Deprecated.
        - use getTimeStamp
        (12) get JDFDate attribute TimeStamp
        Returns:
        JDFDate the value of the attribute
      • getAuditPool

        public JDFAuditPool getAuditPool()
        Returns:
        the parent audit pool
      • createUpdateAudit

        public JDFAudit createUpdateAudit()
        create an update audit for this
        Returns:
        a new audit that updates this
      • getUpdatedPreviousAudit

        public JDFAudit getUpdatedPreviousAudit()
        get the previous updated audit that was updated by this
        Returns:
        the audit that was replaced by this
      • getStaticAgentName

        public static java.lang.String getStaticAgentName()
        Gets the default static AgentName that is used to preset @AgentName when generating a new Audit
        Returns:
        Returns the m_strAgentName.
      • setStaticAgentName

        public static void setStaticAgentName​(java.lang.String agentName)
        sets the default static AgentName that is used to preset @AgentName when generating a new Audit
        Parameters:
        agentName - The m_strAgentName to set.
      • getStaticAuthor

        public static java.lang.String getStaticAuthor()
        Gets the default static Author that is used to preset @AgentName when generating a new Audit
        Returns:
        Returns the m_Author.
      • setStaticAuthor

        public static void setStaticAuthor​(java.lang.String author)
        sets the default static Author that is used to preset @Author when generating a new Audit
        Parameters:
        author - The m_strAuthor to set.
      • getStaticAgentVersion

        public static java.lang.String getStaticAgentVersion()
        gets the default static AgentVersion that is used to preset @AgentName when generating a new Audit
        Returns:
        sTRING the m_strAgentVersion.
      • setStaticAgentVersion

        public static void setStaticAgentVersion​(java.lang.String agentVersion)
        Sets the default static AgentVersion that is used to preset @AgentName when generating a new Audit
        Parameters:
        agentVersion - The m_strAgentVersion to set.
      • getCreateEmployee

        public JDFEmployee getCreateEmployee​(int iSkip)
        (26) getCreateEmployee
        Parameters:
        iSkip - number of elements to skip
        Returns:
        JDFEmployee the element
      • getEmployee

        public JDFEmployee getEmployee​(int iSkip)
        (27) const get element Employee
        Parameters:
        iSkip - number of elements to skip
        Returns:
        JDFEmployee the element default is getEmployee(0)
      • getAllEmployee

        public java.util.Collection<JDFEmployee> getAllEmployee()
        Get all Employee from the current element
        Returns:
        Collection