Interface MTSwimlaneModel

All Superinterfaces:
Comparable<MTNamedObject>, MTDataObject, MTHistoryEnabled, MTModel, MTModelHeader, MTNamedObject
All Known Subinterfaces:
MTCompleteSwimlaneModel

public interface MTSwimlaneModel extends MTModel
Extends the model interface with swimlane settings.
  • Method Details

    • getSwimlaneSettings

      Returns the swimlane settings in the form of a map. The outer map defines the swimlane settings where the key is the symbol type acting as a swimlane and the inner map is the relations defined for this swimlane. The inner map has the placed symbol type as its key and the corresponding created relation type as its value.
      Returns:
      The swimlane settings for the model
      Since:
      3.0
    • setSwimlaneSettings

      void setSwimlaneSettings(Map<SymbolType,Map<SymbolType,EdgeTypeWithDirection>> settings)
      Sets the swimlane settings in the form of a map. The outer map defines the swimlane settings where the key is the symbol type acting as a swimlane and the inner map is the relations defined for this swimlane. The inner map has the placed symbol type as its key and the corresponding created relation type as its value.
      Parameters:
      settings - The new settings
    • isSwimlaneVertex

      boolean isSwimlaneVertex(MTCompleteVertex vertex)
      Returns true if a vertex is a swimlane in the model.
      Parameters:
      vertex - The vertex to check.
      Returns:
      true if the vertex is a swimlane in this model.