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,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, EXTERNALIZATION_VERSION_UID, WTPART_MASTER_ROLEFields inherited from class wt.vc._ObjectToVersionLink
ROLE_AOBJECT_REF, ROLE_BOBJECT_REFFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc._BinaryLink
ROLE_AOBJECT_ROLE, ROLE_BOBJECT_ROLEFields inherited from interface wt.ufid._Federatable
FEDERATABLE_INFOFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.change2._RelatedProductData
DESCRIPTIONFields inherited from interface wt.fc.BinaryLink
ALL_ROLES, BOTH_ROLESFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPE -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectProductnewSubjectProduct(WTPartMaster theWTPartMaster, ChangeRequest2 theChangeRequest2) Default factory for the class.Methods inherited from class wt.change2._SubjectProduct
getChangeRequest2, getClassInfo, getConceptualClassname, getDescription, getFederatableInfo, getType, getWTPartMaster, readExternal, readExternal, readVersion, setChangeRequest2, setDescription, setFederatableInfo, setWTPartMaster, super_readExternal_SubjectProduct, super_readVersion_SubjectProduct, super_writeExternal_SubjectProduct, writeExternal, writeExternalMethods inherited from class wt.vc.ObjectToVersionLink
appendJoinCriteria, appendRoleCriteria, duplicate, getAllObjects, getJoinValues, getLinkInfo, getObject, getOtherObject, getRole, getRoleAObject, getRoleAObjectId, getRoleBObject, getRoleBObjectId, getRoleIdName, getRoleObject, initialize, setRoleAObject, setRoleAObjectRef, setRoleBObject, setRoleBObjectRef, setRoleObjectMethods inherited from class wt.vc._ObjectToVersionLink
getRoleAObjectRef, getRoleBObjectRef, readVersion, super_readExternal_ObjectToVersionLink, super_readVersion_ObjectToVersionLink, super_writeExternal_ObjectToVersionLinkMethods inherited from class wt.fc.WTObject
checkAttributes, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, initialize, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
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
-