wt.change2
Class RelevantRequestData2

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

public class RelevantRequestData2
extends ObjectToVersionLink
implements RelatedProductData, RelevantRequestData2Ifc, wt.change2.ChangeLinkViewable, Externalizable

A link between a ChangeRequest2 and a Changeable2 that allows the user to identify relevant product data. The description attribute is used to explain the relevance to the change request. The changeable object that is associated to the change request is not necessarily one that must change, or one that has been changed. The AffectedActivityData link identifies changeables that must change, and the ChangeRecord2 link identifies changeables that have changed.

Use the newRelevantRequestData2 static factory method(s), not the RelevantRequestData2 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, Changeable2, AffectedActivityData, ChangeRecord2, Serialized Form

Field Summary
static String CHANGE_REQUEST2_ROLE
          Label for the attribute.
static String CHANGEABLE2_ROLE
          Label for the attribute.
 
Method Summary
 Changeable2 getChangeable2()
          Gets the object for the association that plays role: CHANGEABLE2_ROLE.
 ChangeRequest2 getChangeRequest2()
          Gets the object for the association that plays role: CHANGE_REQUEST2_ROLE.
 void setChangeable2(Changeable2 theChangeable2)
          Sets the object for the association that plays role: CHANGEABLE2_ROLE.
 void setChangeRequest2(ChangeRequest2 theChangeRequest2)
          Sets the object for the association that plays role: CHANGE_REQUEST2_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

CHANGEABLE2_ROLE

public static final String CHANGEABLE2_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

getChangeable2

public Changeable2 getChangeable2()
Gets the object for the association that plays role: CHANGEABLE2_ROLE.

Supported API: true

Returns:
Changeable2

setChangeable2

public void setChangeable2(Changeable2 theChangeable2)
                    throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGEABLE2_ROLE.

Supported API: true

Parameters:
theChangeable2 -
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