Schnittstelle ISubjectExtension

Alle Superschnittstellen:
IAbstractElement, IALPSModelElement, IALPSSIDComponent, IContainableElement<IModelLayer>, IExtendingElement<ISubject>, IHasSimple2DVisualizationBox, IImplementingElement, IImplementingElementT<ISubject>, IInteractionDescribingComponent, IPASSProcessModelElement, ISubject, IValueChangedObserver<IPASSProcessModelElement>, IValueChangedPublisher<IPASSProcessModelElement>
Alle bekannten Unterschnittstellen:
IGuardExtension, IMacroExtension
Alle bekannten Implementierungsklassen:
GuardExtension, MacroExtension, SubjectExtension

public interface ISubjectExtension extends IALPSSIDComponent, ISubject
Interface for a subject extension
  • Methodendetails

    • addExtensionBehavior

      void addExtensionBehavior(ISubjectBehavior behavior)
      Adds an extension behavior to the extension subject
      Parameter:
      behavior - the new behavior
    • getExtensionBehaviors

      Map<String,ISubjectBehavior> getExtensionBehaviors()
      Gibt zurück:
      A set of extension behaviors that belong to this subject extension
    • setExtensionBehaviors

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

      void setExtensionBehaviors(Set<ISubjectBehavior> behaviors)
      Overrides the set of behaviors that belong to this extension
      Parameter:
      behaviors - the new behaviors
    • removeExtensionBehavior

      void removeExtensionBehavior(String id, int removeCascadeDepth)
      Removes a behavior from the set of behaviors belonging to this subject extension
      Parameter:
      id - the id of the behavior
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • removeExtensionBehavior

      void removeExtensionBehavior(String id)
      Removes a behavior from the set of behaviors belonging to this subject extension
      Parameter:
      id - the id of the behavior
    • setExtendedSubject

      void setExtendedSubject(ISubject subject, int removeCascadeDepth)
      Sets the subject that is extended by this extension
      Parameter:
      subject - the extended subject
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setExtendedSubject

      void setExtendedSubject(ISubject subject)
      Sets the subject that is extended by this extension
      Parameter:
      subject - the extended subject
    • getExtendedSubject

      ISubject getExtendedSubject()
      Gibt zurück:
      The subject that is extended by this extension