|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRPSysMLPort
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 |
Method Detail |
---|
IRPLink addLink(IRPInstance fromPart, IRPInstance toPart, IRPRelation assoc, IRPSysMLPort toPort, IRPPackage newOwner)
fromPart
- the "from" part for the linktoPart
- the "to" part for the linkassoc
- use Null for this argument (it is not relevant for links between flowports)toPort
- the "to" port for the linknewOwner
- the package that should be the owner of the link created
RhapsodyRuntimeException
int getIsReversed()
RhapsodyRuntimeException
java.lang.String getPortDirection()
RhapsodyRuntimeException
IRPClassifier getType()
RhapsodyRuntimeException
void setIsReversed(int isReversed)
isReversed
- use 1 to specify that the flowport should be conjugated, 0 otherwise
RhapsodyRuntimeException
void setPortDirection(java.lang.String portDirection)
portDirection
- the direction to use for the flowport. The valid values are "In", "Out", and "InOut".
RhapsodyRuntimeException
void setType(IRPClassifier type)
type
- the type to use for the flowport
RhapsodyRuntimeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |