com.ptc.windchill.esi.esipart
Class ESIAbstractPart

java.lang.Object
  extended by com.ptc.windchill.esi.esipart.ESIAbstractPart
Direct Known Subclasses:
ESIAlternatePart, ESIPart

public abstract class ESIAbstractPart
extends Object

Define common behaviors of ESI part abstractions.

Supported API: true

Extendable: true


Constructor Summary
ESIAbstractPart(WTPart previousPart, WTPart currentPart)
          Create an instance that is properly initialized.
 
Method Summary
 WTPartMaster getMaster()
          Returns the part master associated with the current part.
 WTPart getPrevious()
          Gets the object for the association that plays role: previous.
 Vector getTargets()
          Gets the object for the association that plays role: targets.
 void setPrevious(WTPart a_Previous)
          Sets the object for the association that plays role: previous.
 void setTargets(Vector a_Targets)
          Sets the object for the association that plays role: targets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESIAbstractPart

public ESIAbstractPart(WTPart previousPart,
                       WTPart currentPart)
Create an instance that is properly initialized.

Supported API: true

Parameters:
previousPart - The part that is the last published iteration of the part that to be processed. May be null.
currentPart - The part that is the current iteration to be processed.
Method Detail

getPrevious

public WTPart getPrevious()
Gets the object for the association that plays role: previous.

Supported API: true

Returns:
WTPart

setPrevious

public void setPrevious(WTPart a_Previous)
                 throws WTPropertyVetoException
Sets the object for the association that plays role: previous.

Supported API: true

Parameters:
a_Previous -
Throws:
WTPropertyVetoException

getTargets

public Vector getTargets()
Gets the object for the association that plays role: targets.

Supported API: true

Returns:
Vector

setTargets

public void setTargets(Vector a_Targets)
                throws WTPropertyVetoException
Sets the object for the association that plays role: targets.

Supported API: true

Parameters:
a_Targets -
Throws:
WTPropertyVetoException

getMaster

public WTPartMaster getMaster()
Returns the part master associated with the current part.

Supported API: true

Returns:
WTPartMaster