Schnittstelle ICommunicationChannel
- Alle Superschnittstellen:
IALPSModelElement
,IALPSSIDComponent
,IContainableElement<IModelLayer>
,IHasSimple2DVisualizationLine
,IInteractionDescribingComponent
,IPASSProcessModelElement
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
- Alle bekannten Implementierungsklassen:
CommunicationChannel
An interface for abstract communication channels.
This also represents Uni- and BiDirectionalCommunicationChannels
The direction can be set using the
setIsUniDirectional(boolean)
Method.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Returns whether this channel is a Bi- or UniDirectionalCommunicationChannel.void
setCorrespondentA
(ISubject correspondentA) void
setCorrespondentA
(ISubject correspondentA, int removeCascadeDepth) void
setCorrespondentB
(ISubject correspondentB) void
setCorrespondentB
(ISubject correspondentB, int removeCascadeDepth) void
setCorrespondents
(ISubject correspondentA, ISubject correspondentB) void
setCorrespondents
(ISubject correspondentA, ISubject correspondentB, int removeCascadeDepth) void
setIsUniDirectional
(boolean isUniDirectional) Sets the direction of the channel.Von Schnittstelle geerbte Methoden alps.java.api.util.IContainableElement
getContainedBy, removeFromContainer, setContainedBy
Von Schnittstelle geerbte Methoden alps.java.api.util.IHasSimple2DVisualizationLine
addSimple2DPathPoint, get2DPageRatio, getRelative2DBeginX, getRelative2DBeginY, getRelative2DEndX, getRelative2DEndY, getSimple2DPathPoints, set2DPageRatio, setRelative2DBeginX, setRelative2DBeginY, setRelative2DEndX, setRelative2DEndY
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IPASSProcessModelElement
addComment, addElementWithUnspecifiedRelation, addModelComponentLabel, clearComments, clearModelComponentLabels, createUniqueModelComponentID, createUniqueModelComponentID, createUniqueModelComponentID, getComments, getElementsWithUnspecifiedRelation, getModelComponentID, getModelComponentLabels, getModelComponentLabelsAsStrings, getModelComponentLabelsAsStrings, getUriModelComponentID, removeElementWithUnspecifiedRelation, removeFromEverything, removeFromEverything, removeModelComponentLabel, setElementsWithUnspecifiedRelation, setModelComponentID, setModelComponentLabels
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedObserver
notifyModelComponentIDChanged, updateAdded, updateRemoved, updateRemoved
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Methodendetails
-
setCorrespondents
-
setCorrespondents
-
setCorrespondentA
-
setCorrespondentA
-
setCorrespondentB
-
setCorrespondentB
-
getCorrespondentA
ISubject getCorrespondentA() -
getCorrespondentB
ISubject getCorrespondentB() -
getCorrespondents
-
setIsUniDirectional
void setIsUniDirectional(boolean isUniDirectional) Sets the direction of the channel. This might be either Uni- or BiDirectional. In case of a UniDirectional, the CorrespondentA should be assumed as the Sender, and Correspondent should be assumed as the Receiver.- Parameter:
isUniDirectional
- If true, this channel acts as UniDirectionalCommunicationChannel. If false, this channel acts as BiDirectionalCommunicationChannel.
-
isUniDirectional
boolean isUniDirectional()Returns whether this channel is a Bi- or UniDirectionalCommunicationChannel.- Gibt zurück:
- If true, the channel is UniDirectional, assuming the CorrespondentA as the Sender and CorrespondentB as Receiver. If false, the channel is BiDirectional
-