wt.change2
Class AcceptedStrategy

java.lang.Object
  extended by wt.fc.WTObject
      extended by wt.vc.VersionToVersionLink
          extended by wt.change2.AcceptedStrategy
All Implemented Interfaces:
Externalizable, Serializable, AcceptedStrategyIfc, BinaryLink, Link, NetFactor, ObjectMappable, Persistable, DisplayIdentification

public class AcceptedStrategy
extends VersionToVersionLink
implements AcceptedStrategyIfc, Externalizable

A link between a ChangeProposal and a ChangeOrder2 representing the decision to implement the proposal by executing the order.

Use the newAcceptedStrategy static factory method(s), not the AcceptedStrategy 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:
ChangeProposal, ChangeOrder2, Serialized Form

Field Summary
static String CHANGE_ORDER2_ROLE
          Label for the attribute.
static String CHANGE_PROPOSAL_ROLE
          Label for the attribute.
 
Fields inherited from interface wt.change2.AcceptedStrategyIfc
CHANGE_ORDER_IFC_ROLE, CHANGE_PROPOSAL_IFC_ROLE
 
Method Summary
 ChangeOrderIfc getChangeOrder2()
          Gets the object for the association that plays role: CHANGE_ORDER2_ROLE.
 ChangeOrderIfc getChangeOrderIfc()
          Gets the object for the association that plays role: CHANGE_ORDER_IFC_ROLE.
 ChangeProposalIfc getChangeProposal()
          Gets the object for the association that plays role: CHANGE_PROPOSAL_ROLE.
 ChangeProposalIfc getChangeProposalIfc()
          Gets the object for the association that plays role: CHANGE_PROPOSAL_IFC_ROLE.
 void setChangeOrder2(ChangeOrderIfc theChangeOrder2)
          Sets the object for the association that plays role: CHANGE_ORDER2_ROLE.
 void setChangeOrderIfc(ChangeOrderIfc theChangeOrderIfc)
          Sets the object for the association that plays role: CHANGE_ORDER_IFC_ROLE.
 void setChangeProposal(ChangeProposalIfc theChangeProposal)
          Sets the object for the association that plays role: CHANGE_PROPOSAL_ROLE.
 void setChangeProposalIfc(ChangeProposalIfc theChangeProposalIfc)
          Sets the object for the association that plays role: CHANGE_PROPOSAL_IFC_ROLE.
 
Methods inherited from class wt.vc.VersionToVersionLink
duplicate, getAllObjects, getRoleObject, initialize, setRoleAObject, 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

CHANGE_ORDER2_ROLE

public static final String CHANGE_ORDER2_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values

CHANGE_PROPOSAL_ROLE

public static final String CHANGE_PROPOSAL_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getChangeOrderIfc

public ChangeOrderIfc getChangeOrderIfc()
Gets the object for the association that plays role: CHANGE_ORDER_IFC_ROLE.

Supported API: true

Specified by:
getChangeOrderIfc in interface AcceptedStrategyIfc
Returns:
ChangeOrderIfc

setChangeOrderIfc

public void setChangeOrderIfc(ChangeOrderIfc theChangeOrderIfc)
                       throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGE_ORDER_IFC_ROLE.

Supported API: true

Specified by:
setChangeOrderIfc in interface AcceptedStrategyIfc
Parameters:
theChangeOrderIfc -
Throws:
WTPropertyVetoException

getChangeProposalIfc

public ChangeProposalIfc getChangeProposalIfc()
Gets the object for the association that plays role: CHANGE_PROPOSAL_IFC_ROLE.

Supported API: true

Specified by:
getChangeProposalIfc in interface AcceptedStrategyIfc
Returns:
ChangeProposalIfc

setChangeProposalIfc

public void setChangeProposalIfc(ChangeProposalIfc theChangeProposalIfc)
                          throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGE_PROPOSAL_IFC_ROLE.

Supported API: true

Specified by:
setChangeProposalIfc in interface AcceptedStrategyIfc
Parameters:
theChangeProposalIfc -
Throws:
WTPropertyVetoException

getChangeOrder2

public ChangeOrderIfc getChangeOrder2()
Gets the object for the association that plays role: CHANGE_ORDER2_ROLE.

Supported API: true

Returns:
ChangeOrderIfc

setChangeOrder2

public void setChangeOrder2(ChangeOrderIfc theChangeOrder2)
                     throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGE_ORDER2_ROLE.

Supported API: true

Parameters:
theChangeOrder2 -
Throws:
WTPropertyVetoException

getChangeProposal

public ChangeProposalIfc getChangeProposal()
Gets the object for the association that plays role: CHANGE_PROPOSAL_ROLE.

Supported API: true

Returns:
ChangeProposalIfc

setChangeProposal

public void setChangeProposal(ChangeProposalIfc theChangeProposal)
                       throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGE_PROPOSAL_ROLE.

Supported API: true

Parameters:
theChangeProposal -
Throws:
WTPropertyVetoException