wt.change2
Class SubjectProduct

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.vc.ObjectToVersionLink
          extended by wt.change2.SubjectProduct
All Implemented Interfaces:
Externalizable, Serializable, RelatedProductData, SubjectProductIfc, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, DisplayIdentification

public class SubjectProduct
extends ObjectToVersionLink
implements RelatedProductData, SubjectProductIfc, Externalizable

A link between a ChangeRequest2 and a WTPartMaster that allows the user to identify relevant product data. The description attribute is used to explain the relevance to the change request. The Product Master that is associated to the change request is not necessarily one that must change, or one that has been changed.

Use the newSubjectProduct static factory method(s), not the SubjectProduct constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: true

See Also:
ChangeRequest2, WTPartMaster, Serialized Form

Field Summary
static String CHANGE_REQUEST2_ROLE
          Label for the attribute.
static String WTPART_MASTER_ROLE
          Label for the attribute.
 
Method Summary
 ChangeRequest2 getChangeRequest2()
          Gets the object for the association that plays role: CHANGE_REQUEST2_ROLE.
 WTPartMaster getWTPartMaster()
          Gets the object for the association that plays role: WTPART_MASTER_ROLE.
 void setChangeRequest2(ChangeRequest2 theChangeRequest2)
          Sets the object for the association that plays role: CHANGE_REQUEST2_ROLE.
 void setWTPartMaster(WTPartMaster theWTPartMaster)
          Sets the object for the association that plays role: WTPART_MASTER_ROLE.
 
Methods inherited from class wt.vc.ObjectToVersionLink
duplicate, getAllObjects, getRoleObject, initialize, setRoleBObject, setRoleObject
 
Methods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WTPART_MASTER_ROLE

public static final String WTPART_MASTER_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

CHANGE_REQUEST2_ROLE

public static final String CHANGE_REQUEST2_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getWTPartMaster

public WTPartMaster getWTPartMaster()
Gets the object for the association that plays role: WTPART_MASTER_ROLE.

Supported API: true

Returns:
WTPartMaster

setWTPartMaster

public void setWTPartMaster(WTPartMaster theWTPartMaster)
                     throws WTPropertyVetoException
Sets the object for the association that plays role: WTPART_MASTER_ROLE.

Supported API: true

Parameters:
theWTPartMaster -
Throws:
WTPropertyVetoException

getChangeRequest2

public ChangeRequest2 getChangeRequest2()
Gets the object for the association that plays role: CHANGE_REQUEST2_ROLE.

Supported API: true

Returns:
ChangeRequest2

setChangeRequest2

public void setChangeRequest2(ChangeRequest2 theChangeRequest2)
                       throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGE_REQUEST2_ROLE.

Supported API: true

Parameters:
theChangeRequest2 -
Throws:
WTPropertyVetoException