Schnittstelle ISubject
- Alle Superschnittstellen:
IAbstractElement
,IContainableElement<IModelLayer>
,IExtendingElement<ISubject>
,IHasSimple2DVisualizationBox
,IImplementingElement
,IImplementingElementT<ISubject>
,IInteractionDescribingComponent
,IPASSProcessModelElement
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
- Alle bekannten Unterschnittstellen:
IFullySpecifiedSubject
,IGuardExtension
,IInterfaceSubject
,IMacroExtension
,IMultiSubject
,ISingleSubject
,IStandaloneMacroSubject
,ISubjectExtension
,ISystemInterfaceSubject
- Alle bekannten Implementierungsklassen:
FullySpecifiedSubject
,GuardExtension
,InterfaceSubject
,MacroExtension
,MultiSubject
,SingleSubject
,StandaloneMacroSubject
,Subject
,SubjectExtension
,SubjectGroup
,SystemInterfaceSubject
public interface ISubject
extends IHasSimple2DVisualizationBox, IInteractionDescribingComponent, IImplementingElementT<ISubject>, IExtendingElement<ISubject>, IAbstractElement
Interface to the subject class
-
Verschachtelte Klassen - Übersicht
Modifizierer und TypSchnittstelleBeschreibungstatic enum
Represents roles that can be assigned to a subject -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addIncomingMessageExchange
(IMessageExchange exchange) Adds a MessageExchange to the list of incoming message exchangesvoid
addOutgoingMessageExchange
(IMessageExchange exchange) Adds a MessageExchange to the list of outgoing message exchangesvoid
assignRole
(ISubject.Role role) Assigns a role to the current subjectProvides all incoming MessageExchanges mapped with their model component idsint
Getter for the instance restriction, defines how often the subject might be instanciatedProvides all outgoing MessageExchanges mapped with their model component idsboolean
isRole
(ISubject.Role role) Checks whether the specified role was assigned to this subjectvoid
Removes an incoming exchangevoid
removeIncomingMessageExchange
(String id, int removeCascadeDepth) Removes an incoming exchangevoid
Removes an outgoing exchangevoid
removeOutgoingMessageExchange
(String id, int removeCascadeDepth) Removes an outgoing exchangevoid
removeRole
(ISubject.Role role) Unassignes the specified role from the subjectvoid
setIncomingMessageExchanges
(Set<IMessageExchange> exchanges) Overrides the set of incoming exchangesvoid
setIncomingMessageExchanges
(Set<IMessageExchange> exchanges, int removeCascadeDepth) Overrides the set of incoming exchangesvoid
setInstanceRestriction
(int restriction) Setter for the instance restriction, defines how often the subject might be instanciatedvoid
setOutgoingMessageExchanges
(Set<IMessageExchange> exchanges) Overrides the set of outgoing exchangesvoid
setOutgoingMessageExchanges
(Set<IMessageExchange> exchanges, int removeCascadeDepth) Overrides the set of outgoing exchangesVon Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IAbstractElement
isAbstract, setIsAbstract
Von Schnittstelle geerbte Methoden alps.java.api.util.IContainableElement
getContainedBy, removeFromContainer, setContainedBy
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IExtendingElement
getExtendedElement, getExtendedElementID, isExtension, setExtendedElement, setExtendedElementID
Von Schnittstelle geerbte Methoden alps.java.api.util.IHasSimple2DVisualizationBox
get2DPageRatio, getRelative2DHeight, getRelative2DPosX, getRelative2DPosY, getRelative2DWidth, set2DPageRatio, setRelative2DHeight, setRelative2DPosX, setRelative2DPosY, setRelative2DWidth
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IImplementingElement
addImplementedInterfaceIDReference, getImplementedInterfacesIDReferences, removeImplementedInterfaces, removeImplementedInterfaces, removeImplementedInterfacesIDReference, setImplementedInterfacesIDReferences
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.IImplementingElementT
addImplementedInterface, getImplementedInterfaces, setImplementedInterfaces, setImplementedInterfaces
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
-
addIncomingMessageExchange
Adds a MessageExchange to the list of incoming message exchanges- Parameter:
exchange
- The new incoming exchange
-
addOutgoingMessageExchange
Adds a MessageExchange to the list of outgoing message exchanges- Parameter:
exchange
- The new outgoing exchange
-
getIncomingMessageExchanges
Map<String,IMessageExchange> getIncomingMessageExchanges() Provides all incoming MessageExchanges mapped with their model component ids- Gibt zurück:
- A map of incoming message exchanges
-
getOutgoingMessageExchanges
Map<String,IMessageExchange> getOutgoingMessageExchanges() Provides all outgoing MessageExchanges mapped with their model component ids- Gibt zurück:
- A dictionary of outgoing message exchanges
-
setIncomingMessageExchanges
Overrides the set of incoming exchanges- Parameter:
exchanges
-removeCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setIncomingMessageExchanges
Overrides the set of incoming exchanges- Parameter:
exchanges
-
-
setOutgoingMessageExchanges
Overrides the set of outgoing exchanges- Parameter:
exchanges
- the set of new outgoing exchangeremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setOutgoingMessageExchanges
Overrides the set of outgoing exchanges- Parameter:
exchanges
- the set of new outgoing exchange
-
removeIncomingMessageExchange
Removes an incoming exchange- Parameter:
id
- the id of the exchangeremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeIncomingMessageExchange
Removes an incoming exchange- Parameter:
id
- the id of the exchange
-
removeOutgoingMessageExchange
Removes an outgoing exchange- Parameter:
id
- the id of the exchangeremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeOutgoingMessageExchange
Removes an outgoing exchange- Parameter:
id
- the id of the exchange
-
getInstanceRestriction
int getInstanceRestriction()Getter for the instance restriction, defines how often the subject might be instanciated- Gibt zurück:
- the instance restriction
-
setInstanceRestriction
void setInstanceRestriction(int restriction) Setter for the instance restriction, defines how often the subject might be instanciated- Parameter:
restriction
- the instance restriction
-
assignRole
Assigns a role to the current subject- Parameter:
role
- the role that will be assigned
-
isRole
Checks whether the specified role was assigned to this subject- Parameter:
role
- the role that is checked- Gibt zurück:
- true if the subject is assigned to the role, false if not
-
removeRole
Unassignes the specified role from the subject- Parameter:
role
- >the role to be removed
-