com.telelogic.rhapsody.core
Interface IRPDependency

All Superinterfaces:
IRPModelElement
All Known Subinterfaces:
IRPHyperLink

public interface IRPDependency
extends IRPModelElement

The IRPDependency interface represents dependencies in a Rational Rhapsody model.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.telelogic.rhapsody.core.IRPModelElement
IRPModelElement.OSLCLink
 
Method Summary
 IRPModelElement getDependent()
          Returns the source element in the dependency relation, meaning the element that depends on the other element.
 IRPModelElement getDependsOn()
          Returns the target element in the dependency relation, meaning the element on which the first element depends.
 void setDependent(IRPModelElement dependent)
          Sets the source element in the dependency relation, meaning the element that depends on the other element.
 void setDependsOn(IRPModelElement dependsOn)
          Sets the target element in the dependency relation, meaning the element on which the first element depends
 void setOwnerWithoutChangingDependent(IRPModelElement newOwner)
          Specifies a new owner for the dependency, without changing the dependent model element.
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPModelElement
addAssociation, addDependency, addDependencyBetween, addDependencyTo, addLinkToElement, addNewAggr, addProperty, addRedefines, addRemoteDependencyTo, addSpecificStereotype, addStereotype, becomeTemplateInstantiationOf, changeTo, clone, createOSLCLink, deleteDependency, deleteFromProject, deleteOSLCLink, errorMessage, findElementsByFullName, findNestedElement, findNestedElementRecursive, getAllTags, getAnnotations, getAssociationClasses, getBinaryID, getConstraints, getConstraintsByHim, getControlledFiles, getDecorationStyle, getDependencies, getDescription, getDescriptionHTML, getDescriptionPlainText, getDescriptionRTF, getDisplayName, getDisplayNameRTF, getErrorMessage, getFullPathName, getFullPathNameIn, getGUID, getHyperLinks, getIconFileName, getInterfaceName, getIsExternal, getIsOfMetaClass, getIsShowDisplayName, getIsUnresolved, getLocalTags, getMainDiagram, getMetaClass, getName, getNestedElements, getNestedElementsByMetaClass, getNestedElementsRecursive, getNewTermStereotype, getOfTemplate, getOSLCLinks, getOverlayIconFileName, getOverriddenProperties, getOverriddenPropertiesByPattern, getOwnedDependencies, getOwner, getProject, getPropertyValue, getPropertyValueConditional, getPropertyValueConditionalExplicit, getPropertyValueExplicit, getRedefines, getReferences, getRemoteDependencies, getRemoteURI, getRequirementTraceabilityHandle, getSaveUnit, getStereotype, getStereotypes, getTag, getTemplateParameters, getTi, getToolTipHTML, getUserDefinedMetaClass, hasNestedElements, hasPanelWidget, highLightElement, isATemplate, isDescriptionRTF, isDisplayNameRTF, isModified, isRemote, locateInBrowser, lockOnDesignManager, openFeaturesDialog, removeProperty, removeRedefines, removeStereotype, setDecorationStyle, setDescription, setDescriptionAndHyperlinks, setDescriptionHTML, setDescriptionRTF, setDisplayName, setDisplayNameRTF, setGUID, setIsShowDisplayName, setMainDiagram, setName, setOfTemplate, setOwner, setPropertyValue, setRequirementTraceabilityHandle, setStereotype, setTagContextValue, setTagElementValue, setTagValue, setTi, synchronizeTemplateInstantiation, unlockOnDesignManager
 

Method Detail

getDependent

IRPModelElement getDependent()
Returns the source element in the dependency relation, meaning the element that depends on the other element.

Returns:
the source element in the dependency relation

getDependsOn

IRPModelElement getDependsOn()
Returns the target element in the dependency relation, meaning the element on which the first element depends.

Returns:
the target element in the dependency relation

setDependent

void setDependent(IRPModelElement dependent)
Sets the source element in the dependency relation, meaning the element that depends on the other element.

Parameters:
dependent - the model element that should be used as the source element in the dependency relation

setDependsOn

void setDependsOn(IRPModelElement dependsOn)
Sets the target element in the dependency relation, meaning the element on which the first element depends

Parameters:
dependsOn - the model element that should be used as the target element in the dependency relation

setOwnerWithoutChangingDependent

void setOwnerWithoutChangingDependent(IRPModelElement newOwner)
Specifies a new owner for the dependency, without changing the dependent model element. Note that if you call the method IRPModelElement.setOwner on a dependency, it will change both the owner and the dependent element.

Parameters:
newOwner - the model element that should be the owner of the dependency
Throws:
RhapsodyRuntimeException