Schnittstelle IGuardingElement<T>

Alle bekannten Unterschnittstellen:
IGuardsFunctionalityCapsule<T>
Alle bekannten Implementierungsklassen:
GuardsFunctionalityCapsule

public interface IGuardingElement<T>
  • Methodendetails

    • setGuardedElements

      void setGuardedElements(Set<T> guardedElements, int removeCascadeDepth)
      Sets the set of guarded elements for the instance
      Parameter:
      guardedElements - The set of guarded elements
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • setGuardedElements

      void setGuardedElements(Set<T> guardedElements)
      Sets the set of guarded elements for the instance
      Parameter:
      guardedElements - The set of guarded elements
    • addGuardedElement

      void addGuardedElement(T guardedElement)
      Adds an guarded element
      Parameter:
      guardedElement - the new guarded element
    • removeGuardedElement

      void removeGuardedElement(String id, int removeCascadeDepth)
      Removes a specified guarded element from the set of guarded elements.
      Parameter:
      id - the id of the guarded element that should be removed
      removeCascadeDepth - Parses the depth of a cascading delete for elements that are connected to the currently deleted one
    • removeGuardedElement

      void removeGuardedElement(String id)
      Removes a specified guarded element from the set of guarded elements.
      Parameter:
      id - the id of the guarded element that should be removed
    • getGuardedElements

      Map<String,T> getGuardedElements()
      Returns the elements guarded by this instance
      Gibt zurück:
      the guarded elements
    • setGuardedElementsIDReferences

      void setGuardedElementsIDReferences(Set<String> guardedElementsIDs)
      Sets the set of guarded elements for the instance
      Parameter:
      guardedElementsIDs - The set of guarded elements
    • addGuardedElementIDReference

      void addGuardedElementIDReference(String guardedElementID)
      Adds an guarded element
      Parameter:
      guardedElementID - the new guarded element
    • removeGuardedElementIDReference

      void removeGuardedElementIDReference(String id)
      Removes a specified guarded element from the set of guarded elements.
      Parameter:
      id - the id of the guarded element that should be removed
    • getGuardedElementsIDReferences

      Set<String> getGuardedElementsIDReferences()
      Returns the elements guarded by this instance
      Gibt zurück:
      the guarded element