Class JDFNotification

    • Constructor Detail

      • JDFNotification

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

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

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

      • toString

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

        public void setPartMapVector​(VJDFAttributeMap vParts)
        set all parts to those defined in vParts
        Overrides:
        setPartMapVector in class JDFElement
        Parameters:
        vParts - vector of attribute maps for the parts
      • setPartMap

        public void setPartMap​(JDFAttributeMap mPart)
        set all parts to those defined by mPart
        Overrides:
        setPartMap in class JDFElement
        Parameters:
        mPart - attribute map for the part to set
      • removePartMap

        public void removePartMap​(JDFAttributeMap mPart)
        remove the part defined by mPart
        Overrides:
        removePartMap in class JDFElement
        Parameters:
        mPart - attribute map for the part to remove
      • hasPartMap

        public boolean hasPartMap​(JDFAttributeMap mPart)
        check whether the part defined in mPart is included
        Overrides:
        hasPartMap in class JDFElement
        Parameters:
        mPart - attribute map for the part to remove
        Returns:
        boolean - returns true if the part exists
      • getCreateBarcode

        public JDFBarcode getCreateBarcode()
        get element Barcode, create if it doesn't exist
        Returns:
        JDFBarcode: the element
      • appendBarcode

        public JDFBarcode appendBarcode()
        append element Barcode
        Returns:
        JDFBarcode: the element
      • getBarcode

        public JDFBarcode getBarcode()
        get element Barcode
        Returns:
        JDFBarcode: the element
      • getCreateFCNKey

        public JDFFCNKey getCreateFCNKey()
        get element FCNKey, create if it doesn't exist
        Returns:
        JDFFCNKey: the element
      • appendFCNKey

        public JDFFCNKey appendFCNKey()
        append element FCNKey
        Returns:
        JDFFCNKey: the element
      • getFCNKey

        public JDFFCNKey getFCNKey()
        get element FCNKey
        Returns:
        JDFFCNKey: the element
      • getCreateSystemTimeSet

        public JDFSystemTimeSet getCreateSystemTimeSet()
        get element SystemTimeSet, create if it doesn't exist
        Returns:
        JDFSystemTimeSet: the element
      • appendSystemTimeSet

        public JDFSystemTimeSet appendSystemTimeSet()
        append element SystemTimeSet
        Returns:
        JDFSystemTimeSet: the element
      • getSystemTimeSet

        public JDFSystemTimeSet getSystemTimeSet()
        get element SystemTimeSet
        Returns:
        JDFSystemTimeSet: the element
      • getCreateCounterReset

        public JDFCounterReset getCreateCounterReset()
        get element CreateCounterReset, create if it doesn't exist
        Returns:
        JDFCreateCounterReset: the element
      • appendCounterReset

        public JDFCounterReset appendCounterReset()
        append element CreateCounterReset
        Returns:
        JDFCreateCounterReset: the element
      • getCounterReset

        public JDFCounterReset getCounterReset()
        get element CreateCounterReset
        Returns:
        JDFCreateCounterReset: the element
      • getCommentText

        public java.lang.String getCommentText()
        get comment text if available,
        Returns:
        String the comment text, else null
      • getCreateError

        public JDFError getCreateError()
        get element Error, create if it doesn't exist
        Returns:
        JDFError: the element
      • appendError

        public JDFError appendError()
        append element Error
        Returns:
        JDFError: the element
      • getError

        public JDFError getError()
        get element Error
        Returns:
        JDFError: the element
      • getCreateEvent

        public JDFEvent getCreateEvent()
        get element Event, create if it doesn't exist
        Returns:
        JDFEvent: the element
      • appendEvent

        public JDFEvent appendEvent()
        append element Event
        Returns:
        JDFEvent: the element
      • setEvent

        public JDFEvent setEvent​(java.lang.String eventID,
                                 java.lang.String eventValue,
                                 java.lang.String comment)
        set this to an event, append the Event element and optionally the comment
        overwrites existing values
        Parameters:
        eventID - Event/@EventID to set
        eventValue - Event/@EventValue to set
        comment - the comment text, if null no comment is set
        Returns:
        the newly created event
      • setNode

        public void setNode​(JDFNode n)
      • setNode

        public void setNode​(NodeIdentifier identifier)
        Parameters:
        identifier -
      • getNotificationDetails

        public JDFElement getNotificationDetails()
        get the predefined notification details
        Parameters:
        details -
        Returns:
      • getEvent

        public JDFEvent getEvent()
        get element Event
        Returns:
        JDFEvent: the element
      • getCreateMilestone

        public JDFMilestone getCreateMilestone()
        get element Milestone, create if it doesn't exist
        Returns:
        JDFMilestone: the element
      • appendMilestone

        public JDFMilestone appendMilestone()
        append element Milestone
        Returns:
        JDFMilestone: the element
      • getMilestone

        public JDFMilestone getMilestone()
        get element Milestone
        Returns:
        JDFMilestone: the element
      • matches

        public boolean matches​(java.lang.Object subset)
        Description copied from interface: IMatches
        returns true if subset somehow matches this the semantics are defined by the filtering algorithm, thus it could be a filter or a subset i.e. subset contains either equivalent elements or null and no non-matching elements matches(null) always returns true
        Specified by:
        matches in interface IMatches
        Parameters:
        subset - the object to filter against
        Returns:
        true if it matches
        See Also:
        IMatches.matches(java.lang.Object)