com.telelogic.rhapsody.core
Interface IRPLink

All Superinterfaces:
IRPModelElement, IRPUnit

public interface IRPLink
extends IRPUnit

The IRPLink interface represents links in Rational Rhapsody models.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.telelogic.rhapsody.core.IRPModelElement
IRPModelElement.OSLCLink
 
Method Summary
 java.lang.String getEnd1Multiplicity()
          get property end1Multiplicity
 java.lang.String getEnd1Name()
          get property end1Name
 java.lang.String getEnd2Multiplicity()
          get property end2Multiplicity
 java.lang.String getEnd2Name()
          get property end2Name
 IRPInstance getFrom()
          get property from
 IRPModelElement getFromElement()
          get property fromElement
 IRPPort getFromPort()
          get property fromPort
 IRPSysMLPort getFromSysMLPort()
          get property fromSysMLPort
 IRPRelation getInstantiates()
          get property instantiates
 IRPLink getOther()
          get property other
 IRPInstance getTo()
          Returns the target of a link.
 IRPModelElement getToElement()
          get property toElement
 IRPPort getToPort()
          Returns the port through which a link reaches a target object.
 IRPSysMLPort getToSysMLPort()
          get property toSysMLPort
 void setEnd1Multiplicity(java.lang.String end1Multiplicity)
          set property end1Multiplicity
 void setEnd1Name(java.lang.String end1Name)
          set property end1Name
 void setEnd2Multiplicity(java.lang.String end2Multiplicity)
          set property end2Multiplicity
 void setEnd2Name(java.lang.String end2Name)
          set property end2Name
 void setInstantiates(IRPRelation pVal)
          method setInstantiates
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPUnit
copyToAnotherProject, getAddToModelMode, getCMHeader, getCMState, getCurrentDirectory, getFilename, getIncludeInNextLoad, getIsStub, getLanguage, getLastModifiedTime, getNestedSaveUnits, getNestedSaveUnitsCount, getStructureDiagrams, isReadOnly, isReferenceUnit, isSeparateSaveUnit, load, moveToAnotherProjectLeaveAReference, referenceToAnotherProject, save, setCMHeader, setFilename, setIncludeInNextLoad, setLanguage, setReadOnly, setSeparateSaveUnit, setUnitPath, unload
 
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

getEnd1Multiplicity

java.lang.String getEnd1Multiplicity()
get property end1Multiplicity

Throws:
RhapsodyRuntimeException

getEnd1Name

java.lang.String getEnd1Name()
get property end1Name

Throws:
RhapsodyRuntimeException

getEnd2Multiplicity

java.lang.String getEnd2Multiplicity()
get property end2Multiplicity

Throws:
RhapsodyRuntimeException

getEnd2Name

java.lang.String getEnd2Name()
get property end2Name

Throws:
RhapsodyRuntimeException

getFrom

IRPInstance getFrom()
get property from

Throws:
RhapsodyRuntimeException

getFromElement

IRPModelElement getFromElement()
get property fromElement

Throws:
RhapsodyRuntimeException

getFromPort

IRPPort getFromPort()
get property fromPort

Throws:
RhapsodyRuntimeException

getFromSysMLPort

IRPSysMLPort getFromSysMLPort()
get property fromSysMLPort

Throws:
RhapsodyRuntimeException

getInstantiates

IRPRelation getInstantiates()
get property instantiates

Throws:
RhapsodyRuntimeException

getOther

IRPLink getOther()
get property other

Throws:
RhapsodyRuntimeException

getTo

IRPInstance getTo()
Returns the target of a link. When a link is connected to an object directly or via a port on the object, the method returns the "to" object. When a link is connected to a port on a class, the method returns the "to" port.

Returns:
the target of the link

getToElement

IRPModelElement getToElement()
get property toElement

Throws:
RhapsodyRuntimeException

getToPort

IRPPort getToPort()
Returns the port through which a link reaches a target object. When a link is connected to a port on an object, the method returns the port on the "to" object. When a link is connected to a port on a class, or is connected to an object directly, the method returns null.

Returns:
the port through which the link reaches its target object

getToSysMLPort

IRPSysMLPort getToSysMLPort()
get property toSysMLPort

Throws:
RhapsodyRuntimeException

setEnd1Multiplicity

void setEnd1Multiplicity(java.lang.String end1Multiplicity)
set property end1Multiplicity

Throws:
RhapsodyRuntimeException

setEnd1Name

void setEnd1Name(java.lang.String end1Name)
set property end1Name

Throws:
RhapsodyRuntimeException

setEnd2Multiplicity

void setEnd2Multiplicity(java.lang.String end2Multiplicity)
set property end2Multiplicity

Throws:
RhapsodyRuntimeException

setEnd2Name

void setEnd2Name(java.lang.String end2Name)
set property end2Name

Throws:
RhapsodyRuntimeException

setInstantiates

void setInstantiates(IRPRelation pVal)
method setInstantiates

Throws:
RhapsodyRuntimeException