Package org.cip4.jdflib.node
Class JDFNode.CombinedProcessLinkHelper
java.lang.Object
org.cip4.jdflib.node.JDFNode.CombinedProcessLinkHelper
- Enclosing class:
- JDFNode
-
Constructor Summary
ConstructorsConstructorDescriptionCombinedProcessLinkHelper(String _linkName, JDFResourceLink.EnumUsage _usage) -
Method Summary
Modifier and TypeMethodDescriptionget the links that are selected by a given CombinedProcessIndex
all links with no CombinedProcessIndex are included in the listgetLinkForCombinedProcessIndex(int combinedProcessIndex, int skip) get the link that is selected by a given CombinedProcessIndex
links with no CombinedProcessIndex are included in the listgetLinksForCombinedProcessIndex(int combinedProcessIndex) get the links that are selected by a given CombinedProcessIndex
all links with no CombinedProcessIndex are included in the listget the links that are selected by a given CombinedProcessIndex
all links with no CombinedProcessIndex are included in the listvoidsetBoth(boolean b) voidsetLinkName(String linkName) voidsetNPos(int nPos) voidsetProcessUsage(String processUsage) void
-
Constructor Details
-
CombinedProcessLinkHelper
public CombinedProcessLinkHelper() -
CombinedProcessLinkHelper
- Parameters:
_linkName-_usage-
-
-
Method Details
-
getCreateLinkForType
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
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 okskip-- Returns:
-
getLinksForCombinedProcessIndex
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
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
- 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
- Parameters:
linkName- the name of the requested link
-
getResName
- Returns:
- the name of the requested resource
-
getProcessUsage
-
setProcessUsage
-