Package wt.vc
Class VersionToVersionLink
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.vc._VersionToVersionLink
wt.vc.VersionToVersionLink
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._BinaryLink,wt.fc._Link,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,BinaryLink,Link,NetFactor,ObjectMappable,Persistable,DisplayIdentification
- Direct Known Subclasses:
_AcceptedStrategy,_CAPAIncludedIn,_ConfigurableRevisionLink,_DetailedBy,_EPMBuildRule,_EPMDerivedRepRule,_FlexibleChangeLink,_HangingChangeLink,_IncludedIn2,_IssueImplementedBy,wt.change2._LegacyChangeLink,com.ptc.windchill.option.model._ModuleVariantInformationLink,_ResearchedBy,_VersionToVersionTraceLink
@GenAsBinaryLink(superClass=WTObject.class,extendable=true,versions=-7762120761555099243L,properties={@GeneratedProperty(name="roleAObjectRef",type=VersionReference.class,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="roleBObjectRef",type=VersionReference.class,accessors=@PropertyAccessors(setExceptions={}))},roleA=@GeneratedRole(name="roleAObject",type=Persistable.class,accessors=@PropertyAccessors(setExceptions={}),cardinality=ONE),roleB=@GeneratedRole(name="roleBObject",type=Persistable.class,accessors=@PropertyAccessors(setExceptions={}),cardinality=ONE),tableProperties=@TableProperties(compositeIndex1="roleAObjectRef.key.branchId",compositeIndex2="roleBObjectRef.key.branchId"))
public abstract class VersionToVersionLink
extends wt.vc._VersionToVersionLink
The VersionToVersionLink provides a binary type of link between two versions.
Navigating between them is applicable only from the latest iteration
on either side, and results in finding the other side's latest iteration.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionCreate a deep copy of this Link.Object[]Gets all the role objects of this link.getRoleObject(String rolename) Gets the role object of this link for the given role name.protected voidinitialize(Iterated roleAObject, Iterated roleBObject) Default initializer for Link objects.voidsetRoleAObject(Persistable roleAObject) Sets the role A object for this Link.voidsetRoleBObject(Persistable roleBObject) Sets the role B object for this Link.voidsetRoleObject(Object roleObject, String rolename) Sets the role object of this link for the given role name.Methods 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
-
setRoleAObject
Sets the role A object for this Link.
Supported API: true- Parameters:
roleAObject- The role A object for this Link.
-
setRoleBObject
Sets the role B object for this Link.
Supported API: true- Parameters:
roleBObject- The role B object for this Link.
-
getAllObjects
Gets all the role objects of this link.
Supported API: true- Returns:
- Object[]
-
getRoleObject
Gets the role object of this link for the given role name.
Supported API: true- Parameters:
rolename-- Returns:
- Object
- Throws:
WTException
-
setRoleObject
Sets the role object of this link for the given role name.
Supported API: true- Parameters:
roleObject- The role A object for this Link.rolename-- Throws:
WTException
-
duplicate
Create a deep copy of this Link. This overriding method ensures that the copy has the same references to the roleA and roleB members as the source object.
Supported API: true- Overrides:
duplicatein classWTObject- Returns:
- WTObject
- Throws:
WTException
-
initialize
Default initializer for Link objects.
Supported API: true- Parameters:
roleAObject-roleBObject-- Throws:
WTException
-