Package wt.change2
Class RelevantRequestData2
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc._VersionToObjectLink
wt.vc.VersionToObjectLink
wt.change2._RelevantRequestData2
wt.change2.RelevantRequestData2
- All Implemented Interfaces:
com.ptc.core.meta.type.mgmt.server.impl.association._AssociationConstrainable,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable,Externalizable,Serializable,wt.change2._ChangeLinkViewable,wt.change2._RelatedProductData,wt.change2._RelevantRequestData2Ifc,wt.change2._RelevantRequestData2TypeInterface,wt.change2.ChangeLinkViewable,RelatedProductData,RelevantRequestData2Ifc,wt.change2.RelevantRequestData2TypeInterface,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,wt.iba.value._IBAHolder,wt.iba.value.IBAHolder,DisplayIdentification,wt.type._Typed,wt.type._TypeManaged,wt.type.FlexTyped,wt.type.Typed,wt.type.TypeManaged,wt.ufid._Federatable,wt.ufid.Federatable
@GenAsBinaryLink(superClass=VersionToObjectLink.class,
interfaces={RelatedProductData.class,RelevantRequestData2Ifc.class,wt.change2.ChangeLinkViewable.class,wt.type.Typed.class,com.ptc.core.meta.type.mgmt.server.impl.association.AssociationConstrainable.class,wt.change2.RelevantRequestData2TypeInterface.class},
extendable=true,
versions=8717412865365278495L,
roleA=@GeneratedRole(name="theChangeRequest2",type=ChangeRequest2.class,supportedAPI=PUBLIC),
roleB=@GeneratedRole(name="theChangeable2",type=Changeable2.class,supportedAPI=PUBLIC),
tableProperties=@TableProperties(tableName="RelevantRequestData2",compositeIndex3="roleBObjectRef.key.classname"),
iconProperties=@IconProperties(standardIcon="netmarkets/images/link_object.gif",openIcon="netmarkets/images/link_object.gif"))
public class RelevantRequestData2
extends _RelevantRequestData2
An affected object 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 changed, and the ChangeRecord2 link
identifies changeables that have changed.
To create aUse the
Set the change item role and the changeable role on the returned typed
link.
Set any initial or required attributes on the typed link.
Call the change service to store the link associations
Supported API: true
Extendable: true
To create a
RelevantRequestData2 link that is supported with
association constraints the recommended order of operations are:
newRelevantRequestData static factory method(s),
not the RelevantRequestData 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.ChangeHelper2.service.storeAssocations(ChangeRequest2, WTCollection)
to save the collection of RelevantRequestData2 links.Supported API: true
Extendable: true
-
Field Summary
Fields inherited from class wt.change2._RelevantRequestData2
CHANGE_REQUEST2_ROLE, CHANGEABLE2_ROLE -
Method Summary
Modifier and TypeMethodDescriptionstatic RelevantRequestData2newRelevantRequestData2(Changeable2 theChangeable2, ChangeRequest2 theChangeRequest2) Default factory for the class.Methods inherited from class wt.change2._RelevantRequestData2
getChangeable2, getChangeRequest2, setChangeable2, setChangeRequest2Methods inherited from class wt.vc.VersionToObjectLink
duplicate, getAllObjects, getRoleObject, initialize, setRoleAObject, 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
-
newRelevantRequestData2
public static RelevantRequestData2 newRelevantRequestData2(Changeable2 theChangeable2, ChangeRequest2 theChangeRequest2) throws WTException Default factory for the class.
Supported API: true- Parameters:
theChangeable2-theChangeRequest2-- Returns:
- RelevantRequestData2
- Throws:
WTException
-