Package wt.change2
Class SubjectProduct
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc._ObjectToVersionLink
wt.vc.ObjectToVersionLink
wt.change2._SubjectProduct
wt.change2.SubjectProduct
- All Implemented Interfaces:
Externalizable,Serializable,wt.change2._RelatedProductData,wt.change2._SubjectProductIfc,RelatedProductData,SubjectProductIfc,wt.fc._BinaryLink,wt.fc._Link,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.archive._Archiveable,wt.fc.archive.Archiveable,BinaryLink,Link,NetFactor,ObjectMappable,Persistable,wt.federation._FederatedLinkHolder,wt.federation._RemotelyLinkable,wt.federation.FederatedLinkHolder,wt.federation.RemotelyLinkable,DisplayIdentification,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsBinaryLink(superClass=ObjectToVersionLink.class,
interfaces={RelatedProductData.class,SubjectProductIfc.class},
extendable=true,
roleA=@GeneratedRole(name="theWTPartMaster",type=WTPartMaster.class,supportedAPI=PUBLIC),
roleB=@GeneratedRole(name="theChangeRequest2",type=ChangeRequest2.class,supportedAPI=PUBLIC),
tableProperties=@TableProperties(tableName="SubjectProduct"))
public class SubjectProduct
extends _SubjectProduct
An affected end-item 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:
-
Field Summary
Fields inherited from class wt.change2._SubjectProduct
CHANGE_REQUEST2_ROLE, WTPART_MASTER_ROLE -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectProductnewSubjectProduct(WTPartMaster theWTPartMaster, ChangeRequest2 theChangeRequest2) Default factory for the class.Methods inherited from class wt.change2._SubjectProduct
getChangeRequest2, getWTPartMaster, setChangeRequest2, setWTPartMasterMethods inherited from class wt.vc.ObjectToVersionLink
duplicate, getAllObjects, getRoleObject, initialize, setRoleBObject, setRoleObjectMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
newSubjectProduct
public static SubjectProduct newSubjectProduct(WTPartMaster theWTPartMaster, ChangeRequest2 theChangeRequest2) throws WTException Default factory for the class.
Supported API: true- Parameters:
theWTPartMaster-theChangeRequest2-- Returns:
- SubjectProduct
- Throws:
WTException
-