wt.change2
Class ChangeRecord2

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

public class ChangeRecord2
extends ObjectToVersionLink
implements ChangeRecordIfc, RelatedProductData, wt.change2.ChangeLinkViewable, Externalizable

A link between a ChangeActivity2 and a Changeable2 that allows the user to identify new changeable revisions that were created to satisfy a change activity. The new changeable revisions represent entirely new product data, or new revisions of existing product data. The description attribute is used to explain how or why the Changeable2 was changed.

Use the newChangeRecord2 static factory method(s), not the ChangeRecord2 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:
ChangeActivity2, Changeable2, Serialized Form

Field Summary
static String CHANGE_ACTIVITY2_ROLE
          Label for the attribute.
static String CHANGEABLE2_ROLE
          Label for the attribute.
 
Fields inherited from interface wt.change2.ChangeRecordIfc
CHANGE_ACTIVITY_IFC_ROLE, CHANGEABLE_IFC_ROLE
 
Method Summary
 ChangeableIfc getChangeable2()
          Gets the object for the association that plays role: CHANGEABLE2_ROLE.
 ChangeableIfc getChangeableIfc()
          Gets the object for the association that plays role: CHANGEABLE_IFC_ROLE.
 ChangeActivityIfc getChangeActivity2()
          Gets the object for the association that plays role: CHANGE_ACTIVITY2_ROLE.
 ChangeActivityIfc getChangeActivityIfc()
          Gets the object for the association that plays role: CHANGE_ACTIVITY_IFC_ROLE.
 void setChangeable2(ChangeableIfc theChangeable2)
          Sets the object for the association that plays role: CHANGEABLE2_ROLE.
 void setChangeableIfc(ChangeableIfc theChangeableIfc)
          Sets the object for the association that plays role: CHANGEABLE_IFC_ROLE.
 void setChangeActivity2(ChangeActivityIfc theChangeActivity2)
          Sets the object for the association that plays role: CHANGE_ACTIVITY2_ROLE.
 void setChangeActivityIfc(ChangeActivityIfc theChangeActivityIfc)
          Sets the object for the association that plays role: CHANGE_ACTIVITY_IFC_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_ACTIVITY2_ROLE

public static final String CHANGE_ACTIVITY2_ROLE
Label for the attribute.

Supported API: true

See Also:
Constant Field Values
Method Detail

getChangeableIfc

public ChangeableIfc getChangeableIfc()
Gets the object for the association that plays role: CHANGEABLE_IFC_ROLE.

Supported API: true

Specified by:
getChangeableIfc in interface ChangeRecordIfc
Returns:
ChangeableIfc

setChangeableIfc

public void setChangeableIfc(ChangeableIfc theChangeableIfc)
                      throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGEABLE_IFC_ROLE.

Supported API: true

Specified by:
setChangeableIfc in interface ChangeRecordIfc
Parameters:
theChangeableIfc -
Throws:
WTPropertyVetoException

getChangeActivityIfc

public ChangeActivityIfc getChangeActivityIfc()
Gets the object for the association that plays role: CHANGE_ACTIVITY_IFC_ROLE.

Supported API: true

Specified by:
getChangeActivityIfc in interface ChangeRecordIfc
Returns:
ChangeActivityIfc

setChangeActivityIfc

public void setChangeActivityIfc(ChangeActivityIfc theChangeActivityIfc)
                          throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGE_ACTIVITY_IFC_ROLE.

Supported API: true

Specified by:
setChangeActivityIfc in interface ChangeRecordIfc
Parameters:
theChangeActivityIfc -
Throws:
WTPropertyVetoException

getChangeable2

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

Supported API: true

Returns:
ChangeableIfc

setChangeable2

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

Supported API: true

Parameters:
theChangeable2 -
Throws:
WTPropertyVetoException

getChangeActivity2

public ChangeActivityIfc getChangeActivity2()
Gets the object for the association that plays role: CHANGE_ACTIVITY2_ROLE.

Supported API: true

Returns:
ChangeActivityIfc

setChangeActivity2

public void setChangeActivity2(ChangeActivityIfc theChangeActivity2)
                        throws WTPropertyVetoException
Sets the object for the association that plays role: CHANGE_ACTIVITY2_ROLE.

Supported API: true

Parameters:
theChangeActivity2 -
Throws:
WTPropertyVetoException