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

Interface to the Subject behavior class
  • Methodendetails

    • addBehaviorDescribingComponent

      boolean addBehaviorDescribingComponent(IBehaviorDescribingComponent component)
      Adds an IBehaviorDescribingComponent 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 set
      removeCascadeDepth -
    • setBehaviorDescribingComponents

      void setBehaviorDescribingComponents(Set<IBehaviorDescribingComponent> components)
      Sets all BehaviorDescribingComponents contained by the behavior. Overwrites all components contained before.
      Parameter:
      components - The new components that will be set
    • removeBehaviorDescribingComponent

      boolean removeBehaviorDescribingComponent(String id, int removeCascadeDepth)
      Removes a BehaviorDescribingComponent from the SubjectBehavior
      Parameter:
      id - the modelComponentID of the component that should be removed
      removeCascadeDepth -
      Gibt zurück:
    • removeBehaviorDescribingComponent

      boolean removeBehaviorDescribingComponent(String id)
      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

      void setInitialState(IState initialStateOfBehavior, int removeCascadeDepth)
      Method that sets the initial state of behaviors attribute of the instance
      Parameter:
      initialStateOfBehavior -
      removeCascadeDepth -
    • setInitialState

      void setInitialState(IState initialStateOfBehavior)
      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

      void setSubject(ISubject subj, int removeCascadeDepth)
      Parameter:
      subj -
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setSubject

      void setSubject(ISubject subj)
      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