wt.epm.navigator.relationship
Class CADAssociatedParts
java.lang.Object
wt.epm.navigator.RelationshipContainer<wt.epm.navigator.Relationship>
wt.epm.navigator.Relationship
wt.epm.navigator.relationship.CADAssociatedParts
- All Implemented Interfaces:
- wt.epm.navigator.Modifier
public class CADAssociatedParts
- extends wt.epm.navigator.Relationship
AssociatedCADDocs denotes the logical associations between an
EPMDocument its associated WTParts. There are three types of
associations, ACTIVE, PASSIVE and IMPLICIT.
An EPMDocument automatically propagates its attribute and/or structure
information to its actively associated WTParts whenever it is checked
in. A passively associated one does not. Unlike active and passive, an
implicitly associated EPMDocument does not have a database link directly
to its WTPart. It is considered associated because it references the
master of the actively associated EPMDocument that propagates its
structure information to the WTPart.
Internally, this relationship traverses different link classes depending
upon type. ACTIVE traces EPMBuildRule or EPMBuildHistory while PASSIVE
traces EPMDescribeLink. IMPLICIT finds all of the EPMDocuments in an
EPMDocument's as-stored config whose master it has an EPMReferenceLink
to. And, returns the actively associated WTParts that those EPMDocuments
propagate structure information to.
This relationship begins with an EPMDocument and ends with a WTPart.
And, may return an EPMBuildRule, an EPMBuildHistory, an EPMDescribeLink
or no link depending upon type. IMPLICIT does not return links.
By default, this relationship returns the latest iteration of each
associated WTPart version. The caller may provide a Configuration
to override the default behavior for ACTIVE and PASSIVE associations.
CADAssociatedParts is the reciprocal of AssociatedCADDocs.
Supported API: true
Extendable: false
|
Nested Class Summary |
static class |
wt.epm.navigator.relationship.CADAssociatedParts.Type
|
| Nested classes/interfaces inherited from class wt.epm.navigator.Relationship |
wt.epm.navigator.Relationship.HasConnection, wt.epm.navigator.Relationship.JointConnection |
| Nested classes/interfaces inherited from class wt.epm.navigator.RelationshipContainer |
wt.epm.navigator.RelationshipContainer.IncludeConnection, wt.epm.navigator.RelationshipContainer.RelationshipConnection, wt.epm.navigator.RelationshipContainer.RelationshipList |
|
Method Summary |
wt.epm.navigator.relationship.CADAssociatedParts.Type[] |
getTypes()
Returns which types of associations will be traced, ACTIVE, PASSIVE,
and/or IMPLICIT. |
void |
setTypes(wt.epm.navigator.relationship.CADAssociatedParts.Type... types)
Selects which types of associations to trace. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setTypes
public void setTypes(wt.epm.navigator.relationship.CADAssociatedParts.Type... types)
- Selects which types of associations to trace.
By default, ACTIVE and then PASSIVE associations are traced.
- Parameters:
types - - a list of association types to trace
Supported API: true
getTypes
public wt.epm.navigator.relationship.CADAssociatedParts.Type[] getTypes()
- Returns which types of associations will be traced, ACTIVE, PASSIVE,
and/or IMPLICIT.
Supported API: true