Class JDFNode.CombinedProcessLinkHelper

java.lang.Object
org.cip4.jdflib.node.JDFNode.CombinedProcessLinkHelper
Enclosing class:
JDFNode

public class JDFNode.CombinedProcessLinkHelper extends Object
  • Constructor Details

    • CombinedProcessLinkHelper

      public CombinedProcessLinkHelper()
    • CombinedProcessLinkHelper

      public CombinedProcessLinkHelper(String _linkName, JDFResourceLink.EnumUsage _usage)
      Parameters:
      _linkName -
      _usage -
  • Method Details

    • 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
    • setUsage

      public void setUsage(JDFResourceLink.EnumUsage usage)
      Parameters:
      usage - the usage of the requested link
    • setBoth

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

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

      public String getResName()
      Returns:
      the name of the requested resource
    • getProcessUsage

      public String getProcessUsage()
    • setProcessUsage

      public void setProcessUsage(String processUsage)