public interface RoutingPartLibrary extends Remote
RoutingPart
Modifier and Type | Interface and Description |
---|---|
static class |
RoutingPartLibrary.Column
Part table column type.
|
static class |
RoutingPartLibrary.ColumnStatus
Hidden status of a column.
|
static class |
RoutingPartLibrary.ColumnType
Type of column values.
|
static class |
RoutingPartLibrary.NodeType
Type of nodes in the part library.
|
static class |
RoutingPartLibrary.RootType
Type of root nodes.
|
Modifier and Type | Method and Description |
---|---|
CharacteristicList |
createCriteria()
Creates a new empty
CharacteristicList object that can be used
as input to Preferences.RoutingPartLibrary#matchCriteria and
Preferences.RoutingPartLibrary#matchCriteriaWithFilter . |
boolean |
filterOnCurrentSpecifications(CharacteristicList match,
String[] partClasses)
Does a characteristic list match the current discipline and specifications?
|
String[] |
getChildrenNodes(String parent)
Returns the children nodes of the input node.
|
String |
getFilteredRoot(RoutingPartLibrary.RootType rootType)
Returns the root node of the part library using the current active
discipline.
|
RoutingPartLibrary.NodeType |
getNodeType(String node)
Returns the node type.
|
CharacteristicList |
getPartDefinition(String node)
Returns the part information for a given
RoutingPartLibrary.NodeType.PART node. |
String |
getRoot()
Returns the root node of the part library.
|
RoutingPartLibrary.Column[] |
getTableDefinition(String node)
Returns the table information for a given
RoutingPartLibrary.NodeType.TABLE node. |
CharacteristicList[] |
matchCriteria(String startNode,
CharacteristicList criteria)
Search for entries in the part library table nodes that match the given set of
criteria.
|
CharacteristicList[] |
matchCriteriaWithFilter(String startNode,
CharacteristicList criteria)
Similar to
Preferences.RoutingPartLibrary#matchCriteria , however it also
filters out any parts that don't match the critiera specified by the current specification. |
String getRoot() throws NXException, RemoteException
NXException
RemoteException
String getFilteredRoot(RoutingPartLibrary.RootType rootType) throws NXException, RemoteException
rootType
- Which root node to find.NXException
RemoteException
String[] getChildrenNodes(String parent) throws NXException, RemoteException
parent
- NXException
RemoteException
RoutingPartLibrary.NodeType getNodeType(String node) throws NXException, RemoteException
node
- NXException
RemoteException
RoutingPartLibrary.Column[] getTableDefinition(String node) throws NXException, RemoteException
RoutingPartLibrary.NodeType.TABLE
node.
node
- Must be a RoutingPartLibrary.NodeType.TABLE
type node, any other node type causes an exception.NXException
RemoteException
CharacteristicList getPartDefinition(String node) throws NXException, RemoteException
RoutingPartLibrary.NodeType.PART
node.
node
- Must be a RoutingPartLibrary.NodeType.PART
type node, any other node type causes an exception.NXException
RemoteException
CharacteristicList createCriteria() throws NXException, RemoteException
CharacteristicList
object that can be used
as input to Preferences.RoutingPartLibrary#matchCriteria
and
Preferences.RoutingPartLibrary#matchCriteriaWithFilter
.
NXException
RemoteException
CharacteristicList[] matchCriteria(String startNode, CharacteristicList criteria) throws NXException, RemoteException
CharacteristicList
objects that
can be used for assigning stock or placing parts. Searches all nodes at or below
the input node for matches.
startNode
- Must not be a RoutingPartLibrary.NodeType.PART
node.criteria
- NXException
RemoteException
CharacteristicList[] matchCriteriaWithFilter(String startNode, CharacteristicList criteria) throws NXException, RemoteException
Preferences.RoutingPartLibrary#matchCriteria
, however it also
filters out any parts that don't match the critiera specified by the current specification.
startNode
- Must not be a RoutingPartLibrary.NodeType.PART
node.criteria
- NXException
RemoteException
boolean filterOnCurrentSpecifications(CharacteristicList match, String[] partClasses) throws NXException, RemoteException
match
- The matching part's Characteristic List to check against the
current discipline and specifications.partClasses
- The part class hierarchy list that contains the matching part.
The first item in the list is the top node name. The last
item in the list is the lowest node that contains the matching part.NXException
RemoteException
Copyright 2016 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.