com.ptc.windchill.esi.esipart
Class ESIPartMasterIteration

java.lang.Object
  extended bycom.ptc.windchill.esi.esipart.ESIPartMasterIteration

public class ESIPartMasterIteration
extends Object

This class preserves the relationship between an iteration and a part master. These objects are for the convenience of methods that need to pass collections of part masters and part iterations as arguments or as method returns.

Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
           
private  WTPartMaster master
           
private  WTPart part
           
private static String RESOURCE
           
 
Constructor Summary
ESIPartMasterIteration()
           
 
Method Summary
 WTPartMaster getMaster()
          Gets the object for the association that plays role: master.
 WTPart getPart()
          Gets the object for the association that plays role: part.
protected  void initialize(WTPart partIteration, WTPartMaster partMaster)
           
static ESIPartMasterIteration newESIPartMasterIteration(WTPart part, WTPartMaster partMaster)
          Default factory method for ESIMasterPartAssociation

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

part

private WTPart part

master

private WTPartMaster master
Constructor Detail

ESIPartMasterIteration

public ESIPartMasterIteration()
Method Detail

getPart

public WTPart getPart()
Gets the object for the association that plays role: part.

Supported API: true

Returns:
WTPart

getMaster

public WTPartMaster getMaster()
Gets the object for the association that plays role: master.

Supported API: true

Returns:
WTPartMaster

newESIPartMasterIteration

public static final ESIPartMasterIteration newESIPartMasterIteration(WTPart part,
                                                                     WTPartMaster partMaster)
Default factory method for ESIMasterPartAssociation

Supported API: false

Parameters:
part - The part iteration associated with this object.
partMaster - The part master associated with this object.
Returns:
ESIPartMasterIteration

initialize

protected void initialize(WTPart partIteration,
                          WTPartMaster partMaster)