com.ptc.windchill.esi.migrate
Class OrgAssociationMigrator.PartTargetAssignments
java.lang.Object
com.ptc.windchill.esi.migrate.OrgAssociationMigrator.PartTargetAssignments
- Enclosing class:
- OrgAssociationMigrator
- protected static class OrgAssociationMigrator.PartTargetAssignments
- extends Object
Method Summary |
void |
assignTo(ESITarget target)
Returns the part iteration for which target assignments
are maintained. |
WTPart |
getPart()
Returns the part iteration for which target assignments
are maintained. |
protected static Hashtable |
getTargets(WTPart part)
Returns the assigned targets for the supplied part iteration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tgtUtility
private static ESITargetUtility tgtUtility
part
private WTPart part
targets
private Hashtable targets
OrgAssociationMigrator.PartTargetAssignments
public OrgAssociationMigrator.PartTargetAssignments(WTPart part)
throws WTException
- Constructs a PartTargetAssignments object, which maintains
a set of currently assigned targets, and provides a
mechanism for assigning new targets.
- Parameters:
part
- - the part iteration for which target assignments
will be maintained.
- Throws:
WTException
getPart
public WTPart getPart()
- Returns the part iteration for which target assignments
are maintained.
- Returns:
- the part iteration
assignTo
public void assignTo(ESITarget target)
throws WTException
- Returns the part iteration for which target assignments
are maintained.
- Parameters:
target
- - the target to which a new assignment will
be created for the part iteration, if not already assigned.
- Throws:
WTException
getTargets
protected static Hashtable getTargets(WTPart part)
throws WTException
- Returns the assigned targets for the supplied part iteration.
- Parameters:
part
- - the part iteration for which assigned targets
will be retrieved.
- Returns:
- the assigned targets
(a Hashtable keyed by the target's system attribute)
- Throws:
WTException