Schnittstelle IGuardBehavior
- Alle Superschnittstellen:
IContainableElement<IModelLayer>
,IExtendingElement<ISubjectBehavior>
,IImplementingElement
,IImplementingElementT<ISubjectBehavior>
,IPASSProcessModelElement
,IPrioritizableElement
,ISubjectBehavior
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
- Alle bekannten Implementierungsklassen:
GuardBehavior
Interface to the GuardBehavior class
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addGuardedBehavior
(ISubjectBehavior behavior) Adds a behavior to the set of guarded behaviorsvoid
addGuardedState
(IState state) Adds a state to the set of guarded statesReturns all behaviors that are guarded by this instanceReturns all states that are guarded by this instanvoid
Removes a behavior from the set of guarded behaviorsvoid
removeGuardedBehavior
(String id, int removeCascadeDepth) Removes a behavior from the set of guarded behaviorsvoid
Removes a state from the set of guarded statesvoid
removeGuardedState
(String id, int removeCascadeDepth) Removes a state from the set of guarded statesvoid
setGuardedBehaviors
(Set<ISubjectBehavior> behaviors) Overrides the behaviors that are guarded by this GuardBehaviorvoid
setGuardedBehaviors
(Set<ISubjectBehavior> behaviors, int removeCascadeDepth) Overrides the behaviors that are guarded by this GuardBehaviorvoid
setGuardedStates
(Set<IState> guardedStates) Overrides the states that are guarded by this GuardBehaviorvoid
setGuardedStates
(Set<IState> guardedStates, int removeCascadeDepth) Overrides the states that are guarded by this GuardBehaviorVon 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.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.StandardPASS.IPrioritizableElement
getPriorityNumber, setPriorityNumber
Von Schnittstelle geerbte Methoden alps.java.api.StandardPASS.PassProcessModelElements.ISubjectBehavior
addBehaviorDescribingComponent, getBehaviorDescribingComponents, getInitialStateOfBehavior, getSubject, removeBehaviorDescribingComponent, removeBehaviorDescribingComponent, setBehaviorDescribingComponents, setBehaviorDescribingComponents, setInitialState, setInitialState, setSubject, setSubject
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
-
setGuardedBehaviors
Overrides the behaviors that are guarded by this GuardBehavior- Parameter:
behaviors
- the new set of guarded behaviorsremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setGuardedBehaviors
Overrides the behaviors that are guarded by this GuardBehavior- Parameter:
behaviors
- the new set of guarded behaviors
-
addGuardedBehavior
Adds a behavior to the set of guarded behaviors- Parameter:
behavior
- the new guarded behavior
-
getGuardedBehaviors
Map<String,ISubjectBehavior> getGuardedBehaviors() Returns all behaviors that are guarded by this instance- Gibt zurück:
- A set of behaviors
-
removeGuardedBehavior
Removes a behavior from the set of guarded behaviors- Parameter:
id
-removeCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeGuardedBehavior
Removes a behavior from the set of guarded behaviors- Parameter:
id
-
-
setGuardedStates
Overrides the states that are guarded by this GuardBehavior- Parameter:
guardedStates
- the new set of guarded statesremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setGuardedStates
Overrides the states that are guarded by this GuardBehavior- Parameter:
guardedStates
- the new set of guarded states
-
addGuardedState
Adds a state to the set of guarded states- Parameter:
state
- the new guarded state
-
getGuardedStates
Returns all states that are guarded by this instan- Gibt zurück:
- A set of states
-
removeGuardedState
Removes a state from the set of guarded states- Parameter:
id
- the id of the state that is guardedremoveCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
removeGuardedState
Removes a state from the set of guarded states- Parameter:
id
- the id of the state that is guarded
-