Schnittstelle ISubjectBehavior
- Alle Superschnittstellen:
IContainableElement<IModelLayer>
,IExtendingElement<ISubjectBehavior>
,IImplementingElement
,IImplementingElementT<ISubjectBehavior>
,IPASSProcessModelElement
,IPrioritizableElement
,IValueChangedObserver<IPASSProcessModelElement>
,IValueChangedPublisher<IPASSProcessModelElement>
- Alle bekannten Unterschnittstellen:
IExtensionBehavior
,IGuardBehavior
,IMacroBehavior
,ISubjectBaseBehavior
- Alle bekannten Implementierungsklassen:
ExtensionBehavior
,GuardBehavior
,MacroBehavior
,SubjectBaseBehavior
,SubjectBehavior
public interface ISubjectBehavior
extends IPASSProcessModelElement, IContainableElement<IModelLayer>, IImplementingElementT<ISubjectBehavior>, IExtendingElement<ISubjectBehavior>, IPrioritizableElement
Interface to the Subject behavior class
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Adds anIBehaviorDescribingComponent
to the current Subject Behavior.Method that returns the behavior description component attribute of the instanceMethod that returns the initial state of behaviors attribute of the instanceMethod that gives access to the Subject the current behavior is connected withboolean
Removes a BehaviorDescribingComponent from the SubjectBehaviorboolean
removeBehaviorDescribingComponent
(String id, int removeCascadeDepth) Removes a BehaviorDescribingComponent from the SubjectBehaviorvoid
Sets all BehaviorDescribingComponents contained by the behavior.void
setBehaviorDescribingComponents
(Set<IBehaviorDescribingComponent> components, int removeCascadeDepth) Sets all BehaviorDescribingComponents contained by the behavior.void
setInitialState
(IState initialStateOfBehavior) Method that sets the initial state of behaviors attribute of the instancevoid
setInitialState
(IState initialStateOfBehavior, int removeCascadeDepth) Method that sets the initial state of behaviors attribute of the instancevoid
setSubject
(ISubject subj) void
setSubject
(ISubject subj, int removeCascadeDepth) 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.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.util.IValueChangedObserver
notifyModelComponentIDChanged, updateAdded, updateRemoved, updateRemoved
Von Schnittstelle geerbte Methoden alps.java.api.util.IValueChangedPublisher
register, unregister, unregister
-
Methodendetails
-
addBehaviorDescribingComponent
Adds anIBehaviorDescribingComponent
to the current Subject Behavior.- Parameter:
component
- the component that is being added- Gibt zurück:
-
setBehaviorDescribingComponents
void setBehaviorDescribingComponents(Set<IBehaviorDescribingComponent> components, int removeCascadeDepth) Sets all BehaviorDescribingComponents contained by the behavior. Overwrites all components contained before.- Parameter:
components
- The new components that will be setremoveCascadeDepth
-
-
setBehaviorDescribingComponents
Sets all BehaviorDescribingComponents contained by the behavior. Overwrites all components contained before.- Parameter:
components
- The new components that will be set
-
removeBehaviorDescribingComponent
Removes a BehaviorDescribingComponent from the SubjectBehavior- Parameter:
id
- the modelComponentID of the component that should be removedremoveCascadeDepth
-- Gibt zurück:
-
removeBehaviorDescribingComponent
Removes a BehaviorDescribingComponent from the SubjectBehavior- Parameter:
id
- the modelComponentID of the component that should be removed- Gibt zurück:
-
getBehaviorDescribingComponents
Map<String,IBehaviorDescribingComponent> getBehaviorDescribingComponents() Method that returns the behavior description component attribute of the instance- Gibt zurück:
- The behavior description component attribute of the instance
-
setInitialState
Method that sets the initial state of behaviors attribute of the instance- Parameter:
initialStateOfBehavior
-removeCascadeDepth
-
-
setInitialState
Method that sets the initial state of behaviors attribute of the instance- Parameter:
initialStateOfBehavior
-
-
getInitialStateOfBehavior
IState getInitialStateOfBehavior()Method that returns the initial state of behaviors attribute of the instance- Gibt zurück:
- The initial state of behaviors attribute of the instance
-
setSubject
- Parameter:
subj
-removeCascadeDepth
- Parses the depth of a cascading delete for elements that are connected to the currently deleted one
-
setSubject
- Parameter:
subj
-
-
getSubject
ISubject getSubject()Method that gives access to the Subject the current behavior is connected with- Gibt zurück:
- The subject this behavior is connected with
-