com.telelogic.rhapsody.core
Interface IRPHyperLink

All Superinterfaces:
IRPDependency, IRPModelElement

public interface IRPHyperLink
extends IRPDependency

The IRPHyperLink interface represents hyperlinks in Rational Rhapsody models.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.telelogic.rhapsody.core.IRPModelElement
IRPModelElement.OSLCLink
 
Method Summary
 void getDisplayOption(char pVal, java.lang.String pDisplayName)
          getDisplayOption
 IRPModelElement getTarget()
          Returns the target model element if the hyperlink points to a model element.
 java.lang.String getURL()
          Returns the target URL if the hyperlink points to a URL.
 void setDisplayOption(char newVal, java.lang.String newDisplayName)
          setDisplayOption
 void setTarget(IRPModelElement target)
          Sets the specified model element to be the target of the hyperlink.
 void setURL(java.lang.String uRL)
          Sets the specified URL to be the target of the hyperlink.
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPDependency
getDependent, getDependsOn, setDependent, setDependsOn, setOwnerWithoutChangingDependent
 
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

getDisplayOption

void getDisplayOption(char pVal,
                      java.lang.String pDisplayName)
getDisplayOption

Throws:
RhapsodyRuntimeException

getTarget

IRPModelElement getTarget()
Returns the target model element if the hyperlink points to a model element.

Returns:
the model element that the hyperlink points to

getURL

java.lang.String getURL()
Returns the target URL if the hyperlink points to a URL.

Returns:
the URL that the hyperlink points to

setDisplayOption

void setDisplayOption(char newVal,
                      java.lang.String newDisplayName)
setDisplayOption

Throws:
RhapsodyRuntimeException

setTarget

void setTarget(IRPModelElement target)
Sets the specified model element to be the target of the hyperlink.

Parameters:
target - the model element that should be used as the target of the hyperlink

setURL

void setURL(java.lang.String uRL)
Sets the specified URL to be the target of the hyperlink.

Parameters:
uRL - the URL that should be used as the target of the hyperlink