com.telelogic.rhapsody.core
Interface IRPRelation

All Superinterfaces:
IRPModelElement, IRPUnit
All Known Subinterfaces:
IRPInstance, IRPModule, IRPPort, IRPSysMLPort

public interface IRPRelation
extends IRPUnit

Represents a relationship between two classes.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.telelogic.rhapsody.core.IRPModelElement
IRPModelElement.OSLCLink
 
Method Summary
 void addQualifier(IRPModelElement pVal)
          method addQualifier
 IRPAssociationClass getAssociationClass()
          method getAssociationClass
 IRPRelation getInverse()
          get property inverse
 int getIsNavigable()
          get property isNavigable
 int getIsSymmetric()
          get property isSymmetric
 java.lang.String getMultiplicity()
          get property multiplicity
 IRPClass getObjectAsObjectType()
          get property ObjectAsObjectType
 IRPClassifier getOfClass()
          get property ofClass
 IRPClassifier getOtherClass()
          Gets the class that this class is related to via this relation.
 java.lang.String getQualifier()
          get property qualifier
 IRPCollection getQualifiers()
          method getQualifiers
 IRPClassifier getQualifierType()
          For associations that use qualifiers, returns the type of the qualifier.
 java.lang.String getRelationLabel()
          get property relationLabel
 java.lang.String getRelationLinkName()
          get property relationLinkName
 java.lang.String getRelationRoleName()
          get property relationRoleName
 java.lang.String getRelationType()
          get property relationType
 java.lang.String getVisibility()
          get property visibility
 int isTypelessObject()
          method isTypelessObject
 void makeUnidirect()
          method makeUnidirect
 void removeQualifier(IRPModelElement pVal)
          method removeQualifier
 void setInverse(java.lang.String roleName, java.lang.String linkType)
          property setInverse
 void setIsNavigable(int isNavigable)
          set property isNavigable
 void setMultiplicity(java.lang.String multiplicity)
          set property multiplicity
 void setOfClass(IRPClassifier ofClass)
          set property ofClass
 void setOtherClass(IRPClassifier otherClass)
          set property otherClass
 void setQualifier(java.lang.String qualifier)
          set property qualifier
 void setQualifierType(IRPClassifier pVal)
          Sets the type to use for the qualifier for the association.
 void setRelationLabel(java.lang.String relationLabel)
          set property relationLabel
 void setRelationLinkName(java.lang.String relationLinkName)
          set property relationLinkName
 void setRelationRoleName(java.lang.String relationRoleName)
          set property relationRoleName
 void setRelationType(java.lang.String relationType)
          set property relationType
 
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

addQualifier

void addQualifier(IRPModelElement pVal)
method addQualifier

Throws:
RhapsodyRuntimeException

getAssociationClass

IRPAssociationClass getAssociationClass()
method getAssociationClass

Throws:
RhapsodyRuntimeException

getInverse

IRPRelation getInverse()
get property inverse

Throws:
RhapsodyRuntimeException

getIsNavigable

int getIsNavigable()
get property isNavigable

Throws:
RhapsodyRuntimeException

getIsSymmetric

int getIsSymmetric()
get property isSymmetric

Throws:
RhapsodyRuntimeException

getMultiplicity

java.lang.String getMultiplicity()
get property multiplicity

Throws:
RhapsodyRuntimeException

getObjectAsObjectType

IRPClass getObjectAsObjectType()
get property ObjectAsObjectType

Throws:
RhapsodyRuntimeException

getOfClass

IRPClassifier getOfClass()
get property ofClass

Throws:
RhapsodyRuntimeException

getOtherClass

IRPClassifier getOtherClass()
Gets the class that this class is related to via this relation.

Returns:
the class that this class is related to via this relation

getQualifier

java.lang.String getQualifier()
get property qualifier

Throws:
RhapsodyRuntimeException

getQualifierType

IRPClassifier getQualifierType()
For associations that use qualifiers, returns the type of the qualifier.

Returns:
the type of the qualifier that is used for the association

getQualifiers

IRPCollection getQualifiers()
method getQualifiers

Throws:
RhapsodyRuntimeException

getRelationLabel

java.lang.String getRelationLabel()
get property relationLabel

Throws:
RhapsodyRuntimeException

getRelationLinkName

java.lang.String getRelationLinkName()
get property relationLinkName

Throws:
RhapsodyRuntimeException

getRelationRoleName

java.lang.String getRelationRoleName()
get property relationRoleName

Throws:
RhapsodyRuntimeException

getRelationType

java.lang.String getRelationType()
get property relationType

Throws:
RhapsodyRuntimeException

getVisibility

java.lang.String getVisibility()
get property visibility

Throws:
RhapsodyRuntimeException

isTypelessObject

int isTypelessObject()
method isTypelessObject

Throws:
RhapsodyRuntimeException

makeUnidirect

void makeUnidirect()
method makeUnidirect

Throws:
RhapsodyRuntimeException

removeQualifier

void removeQualifier(IRPModelElement pVal)
method removeQualifier

Throws:
RhapsodyRuntimeException

setInverse

void setInverse(java.lang.String roleName,
                java.lang.String linkType)
property setInverse

Throws:
RhapsodyRuntimeException

setIsNavigable

void setIsNavigable(int isNavigable)
set property isNavigable

Throws:
RhapsodyRuntimeException

setMultiplicity

void setMultiplicity(java.lang.String multiplicity)
set property multiplicity

Throws:
RhapsodyRuntimeException

setOfClass

void setOfClass(IRPClassifier ofClass)
set property ofClass

Throws:
RhapsodyRuntimeException

setOtherClass

void setOtherClass(IRPClassifier otherClass)
set property otherClass

Throws:
RhapsodyRuntimeException

setQualifier

void setQualifier(java.lang.String qualifier)
set property qualifier

Throws:
RhapsodyRuntimeException

setQualifierType

void setQualifierType(IRPClassifier pVal)
Sets the type to use for the qualifier for the association.

Parameters:
pVal - the type to use for the qualifier for the association

setRelationLabel

void setRelationLabel(java.lang.String relationLabel)
set property relationLabel

Throws:
RhapsodyRuntimeException

setRelationLinkName

void setRelationLinkName(java.lang.String relationLinkName)
set property relationLinkName

Throws:
RhapsodyRuntimeException

setRelationRoleName

void setRelationRoleName(java.lang.String relationRoleName)
set property relationRoleName

Throws:
RhapsodyRuntimeException

setRelationType

void setRelationType(java.lang.String relationType)
set property relationType

Throws:
RhapsodyRuntimeException