com.telelogic.rhapsody.core
Interface IRPSysMLPort

All Superinterfaces:
IRPInstance, IRPModelElement, IRPRelation, IRPUnit

public interface IRPSysMLPort
extends IRPInstance

The IRPSysMLPort interface represents flowport elements in Rhapsody models.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.telelogic.rhapsody.core.IRPModelElement
IRPModelElement.OSLCLink
 
Method Summary
 IRPLink addLink(IRPInstance fromPart, IRPInstance toPart, IRPRelation assoc, IRPSysMLPort toPort, IRPPackage newOwner)
          This method is used to create a link between flowports on two parts.
 int getIsReversed()
          Checks whether the flowport was specified as conjugated.
 java.lang.String getPortDirection()
          Returns the direction that was specified for the flowport.
 IRPClassifier getType()
          Returns the type that was specified for the flowport.
 void setIsReversed(int isReversed)
          Specifies whether the flowport should be conjugated
 void setPortDirection(java.lang.String portDirection)
          Sets the direction of the flowport.
 void setType(IRPClassifier type)
          Sets the type for the flowport.
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPInstance
addRelationToTheWhole, getAttributeValue, getInLinks, getInstantiatedBy, getListOfInitializerArguments, getOutLinks, setAttributeValue, setExplicit, setImplicit, setInitializerArgumentValue, setInstantiatedBy
 
Methods inherited from interface com.telelogic.rhapsody.core.IRPRelation
addQualifier, getAssociationClass, getInverse, getIsNavigable, getIsSymmetric, getMultiplicity, getObjectAsObjectType, getOfClass, getOtherClass, getQualifier, getQualifiers, getQualifierType, getRelationLabel, getRelationLinkName, getRelationRoleName, getRelationType, getVisibility, isTypelessObject, makeUnidirect, removeQualifier, setInverse, setIsNavigable, setMultiplicity, setOfClass, setOtherClass, setQualifier, setQualifierType, setRelationLabel, setRelationLinkName, setRelationRoleName, setRelationType
 
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

addLink

IRPLink addLink(IRPInstance fromPart,
                IRPInstance toPart,
                IRPRelation assoc,
                IRPSysMLPort toPort,
                IRPPackage newOwner)
This method is used to create a link between flowports on two parts.

Parameters:
fromPart - the "from" part for the link
toPart - the "to" part for the link
assoc - use Null for this argument (it is not relevant for links between flowports)
toPort - the "to" port for the link
newOwner - the package that should be the owner of the link created
Returns:
the link that was created
Throws:
RhapsodyRuntimeException

getIsReversed

int getIsReversed()
Checks whether the flowport was specified as conjugated.

Returns:
1 if the flowport was specified as conjugated, 0 otherwise
Throws:
RhapsodyRuntimeException

getPortDirection

java.lang.String getPortDirection()
Returns the direction that was specified for the flowport.

Returns:
the direction that was specified for the flowport - will be one of the following values: "In", "Out", "InOut"
Throws:
RhapsodyRuntimeException

getType

IRPClassifier getType()
Returns the type that was specified for the flowport.

Returns:
the type that was specified for the flowport
Throws:
RhapsodyRuntimeException

setIsReversed

void setIsReversed(int isReversed)
Specifies whether the flowport should be conjugated

Parameters:
isReversed - use 1 to specify that the flowport should be conjugated, 0 otherwise
Throws:
RhapsodyRuntimeException

setPortDirection

void setPortDirection(java.lang.String portDirection)
Sets the direction of the flowport.

Parameters:
portDirection - the direction to use for the flowport. The valid values are "In", "Out", and "InOut".
Throws:
RhapsodyRuntimeException

setType

void setType(IRPClassifier type)
Sets the type for the flowport.

Parameters:
type - the type to use for the flowport
Throws:
RhapsodyRuntimeException