Class JDFDropIntent

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFDropIntent
    extends JDFAutoDropIntent
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFDropIntent

        public JDFDropIntent​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                             java.lang.String qualifiedName)
        Constructor for JDFDropIntent
        Parameters:
        ownerDocument -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFDropIntent

        public JDFDropIntent​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                             java.lang.String myNamespaceURI,
                             java.lang.String qualifiedName)
        Constructor for JDFDropIntent
        Parameters:
        ownerDocument -
        namespaceURI -
        qualifiedName -
        Throws:
        org.w3c.dom.DOMException
      • JDFDropIntent

        public JDFDropIntent​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                             java.lang.String myNamespaceURI,
                             java.lang.String qualifiedName,
                             java.lang.String myLocalName)
        Constructor for JDFDropIntent
        Parameters:
        ownerDocument -
        namespaceURI -
        qualifiedName -
        localName -
        Throws:
        org.w3c.dom.DOMException
    • Method Detail

      • toString

        public java.lang.String toString()
        Description copied from class: KElement
        this to string, used for debug purpose mostly
        Overrides:
        toString in class KElement
        Returns:
        string representativ of this
        See Also:
        Object.toString()
      • getParentDeliveryIntent

        public JDFDeliveryIntent getParentDeliveryIntent()
        Get parent node of 'this' - node DeliveryIntent
        Returns:
        KElement: DeliveryIntent node
      • getAdditionalAmount

        public int getAdditionalAmount()
        Get of 'this' the value of attribute AdditionalAmount. If not specified, get the default value of attribute AdditionalAmount, that is specified in it's parent element (node DeliveryIntent)
        Overrides:
        getAdditionalAmount in class JDFAutoDropIntent
        Returns:
        WString: attribute value
      • getBuyerAccount

        public java.lang.String getBuyerAccount()
        Get of 'this' the value of attribute BuyerAccount. If not specified, get the default value of attribute BuyerAccount, that is specified in it's parent element (node DeliveryIntent)
        Overrides:
        getBuyerAccount in class JDFAutoDropIntent
        Returns:
        WString: attribute value
      • getMethod

        public JDFNameSpan getMethod()
        Get of 'this' the value of element Method. If not specified, get the default value of element Method, that is specified in it's parent element (node DeliveryIntent)
        Overrides:
        getMethod in class JDFAutoDropIntent
        Returns:
        JDFNameSpan: element value
      • getReturnMethod

        public JDFNameSpan getReturnMethod()
        Get of 'this' the value of element ReturnMethod. If not specified, get the default value of element ReturnMethod, that is specified in it's parent element (node DeliveryIntent)
        Overrides:
        getReturnMethod in class JDFAutoDropIntent
        Returns:
        JDFNameSpan: element value
      • getServiceLevel

        public JDFStringSpan getServiceLevel()
        Get of 'this' the value of element ServiceLevel. If not specified, get the default value of element ServiceLevel, that is specified in it's parent element (node DeliveryIntent)
        Overrides:
        getServiceLevel in class JDFAutoDropIntent
        Returns:
        JDFStringSpan: element value
      • getSurplusHandling

        public JDFSpanSurplusHandling getSurplusHandling()
        Get of 'this' the value of element SurplusHandling. If not specified, get the default value of element SurplusHandling, that is specified in it's parent element (node DeliveryIntent)
        Overrides:
        getSurplusHandling in class JDFAutoDropIntent
        Returns:
        JDFSpanSurplusHandling: element value
      • getTransfer

        public JDFSpanTransfer getTransfer()
        Get of 'this' the value of element Transfer. If not specified, get the default value of element Transfer, that is specified in it's parent element (node DeliveryIntent)
        Overrides:
        getTransfer in class JDFAutoDropIntent
        Returns:
        JDFSpanTransfer: element value
      • getContact

        public JDFContact getContact​(int iSkip)
        Get of 'this' the iSkip-th child element Contact. If not specified, get the child element Contact of it's parent element (node DeliveryIntent)
        Overrides:
        getContact in class JDFAutoDropIntent
        Parameters:
        iSkip - number of elements to skip
        Returns:
        JDFContact: the found element
      • getDropItemWithComponent

        public JDFDropItemIntent getDropItemWithComponent​(JDFComponent c)
        get the dropItemIntent for a given component also checks partition
        Parameters:
        c -
        Returns:
      • getCreateDropItemWithComponent

        public JDFDropItemIntent getCreateDropItemWithComponent​(JDFComponent c)
        get the dropItemIntent for a given component
        Parameters:
        c -
        Returns:
      • setFromDrop

        public void setFromDrop​(JDFDrop drop)
        Parameters:
        dropIntent -