Alle Superschnittstellen:
IContainableElement<IModelLayer>, IExtendingElement<ISubjectBehavior>, IImplementingElement, IImplementingElementT<ISubjectBehavior>, IPASSProcessModelElement, IPrioritizableElement, ISubjectBehavior, IValueChangedObserver<IPASSProcessModelElement>, IValueChangedPublisher<IPASSProcessModelElement>
Alle bekannten Implementierungsklassen:
GuardBehavior

public interface IGuardBehavior extends ISubjectBehavior
Interface to the GuardBehavior class
  • Methodendetails

    • setGuardedBehaviors

      void setGuardedBehaviors(Set<ISubjectBehavior> behaviors, int removeCascadeDepth)
      Overrides the behaviors that are guarded by this GuardBehavior
      Parameter:
      behaviors - the new set of guarded behaviors
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setGuardedBehaviors

      void setGuardedBehaviors(Set<ISubjectBehavior> behaviors)
      Overrides the behaviors that are guarded by this GuardBehavior
      Parameter:
      behaviors - the new set of guarded behaviors
    • addGuardedBehavior

      void addGuardedBehavior(ISubjectBehavior behavior)
      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

      void removeGuardedBehavior(String id, int removeCascadeDepth)
      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

      void removeGuardedBehavior(String id)
      Removes a behavior from the set of guarded behaviors
      Parameter:
      id -
    • setGuardedStates

      void setGuardedStates(Set<IState> guardedStates, int removeCascadeDepth)
      Overrides the states that are guarded by this GuardBehavior
      Parameter:
      guardedStates - the new set of guarded states
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setGuardedStates

      void setGuardedStates(Set<IState> guardedStates)
      Overrides the states that are guarded by this GuardBehavior
      Parameter:
      guardedStates - the new set of guarded states
    • addGuardedState

      void addGuardedState(IState state)
      Adds a state to the set of guarded states
      Parameter:
      state - the new guarded state
    • getGuardedStates

      Map<String,IState> getGuardedStates()
      Returns all states that are guarded by this instan
      Gibt zurück:
      A set of states
    • removeGuardedState

      void removeGuardedState(String id, int removeCascadeDepth)
      Removes a state from the set of guarded states
      Parameter:
      id - the id of the state that is guarded
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • removeGuardedState

      void removeGuardedState(String id)
      Removes a state from the set of guarded states
      Parameter:
      id - the id of the state that is guarded