Class JDFNode.CombinedProcessLinkHelper

  • Enclosing class:
    JDFNode

    public class JDFNode.CombinedProcessLinkHelper
    extends java.lang.Object
    • Constructor Detail

      • CombinedProcessLinkHelper

        public CombinedProcessLinkHelper()
      • CombinedProcessLinkHelper

        public CombinedProcessLinkHelper​(java.lang.String _linkName,
                                         JDFResourceLink.EnumUsage _usage)
        Parameters:
        _linkName -
        _usage -
    • Method Detail

      • getCreateLinkForType

        public JDFResourceLink getCreateLinkForType​(JDFNode.EnumType type)
        get the links that are selected by a given CombinedProcessIndex
        all links with no CombinedProcessIndex are included in the list
        Parameters:
        type - the process type for which to get the links
        Returns:
      • getLinkForCombinedProcessIndex

        public JDFResourceLink getLinkForCombinedProcessIndex​(int combinedProcessIndex,
                                                              int skip)
        get the link that is selected by a given CombinedProcessIndex
        links with no CombinedProcessIndex are included in the list
        Parameters:
        combinedProcessIndex - the nTh occurence of the CombinedProcessIndex field, -1 if all valid positions are ok
        skip -
        Returns:
      • getLinksForCombinedProcessIndex

        public VElement getLinksForCombinedProcessIndex​(int combinedProcessIndex)
        get the links that are selected by a given CombinedProcessIndex
        all links with no CombinedProcessIndex are included in the list
        Parameters:
        combinedProcessIndex - the nTh occurence of the CombinedProcessIndex field, -1 if all valid positions are ok
        Returns:
      • getLinksForType

        public VElement getLinksForType​(JDFNode.EnumType type)
        get the links that are selected by a given CombinedProcessIndex
        all links with no CombinedProcessIndex are included in the list
        Parameters:
        type - the process type for which to get the links
        Returns:
      • setNPos

        public void setNPos​(int nPos)
        Parameters:
        nPos - the nTh occurence of the Type field, -1 if all valid positions are ok
      • setBoth

        public void setBoth​(boolean b)
        Parameters:
        b - if true always ensure that the link exists both in and out
      • setLinkName

        public void setLinkName​(java.lang.String linkName)
        Parameters:
        linkName - the name of the requested link
      • getResName

        public java.lang.String getResName()
        Returns:
        the name of the requested resource