Constructor and Description |
---|
CombinedProcessLinkHelper() |
CombinedProcessLinkHelper(String _linkName,
JDFResourceLink.EnumUsage _usage) |
Modifier and Type | Method and Description |
---|---|
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 |
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 |
VElement |
getLinksForCombinedProcessIndex(int combinedProcessIndex)
get the links that are selected by a given CombinedProcessIndex
all links with no CombinedProcessIndex are included in the list |
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 |
String |
getResName() |
void |
setBoth(boolean b) |
void |
setLinkName(String linkName) |
void |
setNPos(int nPos) |
void |
setUsage(JDFResourceLink.EnumUsage usage) |
public CombinedProcessLinkHelper()
public CombinedProcessLinkHelper(String _linkName, JDFResourceLink.EnumUsage _usage)
_linkName
- _usage
- public JDFResourceLink getCreateLinkForType(JDFNode.EnumType type)
type
- the process type for which to get the linkspublic JDFResourceLink getLinkForCombinedProcessIndex(int combinedProcessIndex, int skip)
combinedProcessIndex
- the nTh occurence of the CombinedProcessIndex field, -1 if all valid positions are okskip
- public VElement getLinksForCombinedProcessIndex(int combinedProcessIndex)
combinedProcessIndex
- the nTh occurence of the CombinedProcessIndex field, -1 if all valid positions are okpublic VElement getLinksForType(JDFNode.EnumType type)
type
- the process type for which to get the linkspublic void setNPos(int nPos)
nPos
- the nTh occurence of the Type field, -1 if all valid positions are okpublic void setUsage(JDFResourceLink.EnumUsage usage)
usage
- the usage of the requested linkpublic void setBoth(boolean b)
b
- if true always ensure that the link exists both in and outpublic void setLinkName(String linkName)
linkName
- the name of the requested linkpublic String getResName()
Copyright © 2018. All rights reserved.