public abstract class LinkRef extends Object
Creating a reference instance does not execute anything on the DOORS client, it is just a way to get a pointer to an element on which commands are executed. The reference is only resolved to the actual element by the time the command is executed and may result in an element not being found.
CommandRunner
,
CreateLinkFragment
Constructor and Description |
---|
LinkRef() |
Modifier and Type | Method and Description |
---|---|
static LinkRef |
link(ObjectRef sourceObject,
ModuleRef linkModule,
ModuleRef targetModule,
ObjectRef targetObject)
Returns a reference to a DOORS link.
|
public static LinkRef link(ObjectRef sourceObject, ModuleRef linkModule, ModuleRef targetModule, ObjectRef targetObject)
sourceObject
- the link source object, which must reside in the module being edited.linkModule
- the link module in which a link set defines a pair for the source and target modules.targetModule
- the target module, i.e. the module in which the target object is defined.targetObject
- the link target object.