Class PersistenceManager
- java.lang.Object
-
- com.nomagic.magicdraw.dependencymatrix.persistence.PersistenceManager
-
@OpenApiAll public class PersistenceManager extends java.lang.Object
All main matrix settings holder, which holds the references to the row, column and all general Dependency Matrix settings
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PersistenceManager()
Used to initialize quick tests.PersistenceManager(Diagram diagram)
Initializes matrix settings component from provided Diagram element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilterSettings
getColumnSettings()
Column filter settingsMatrixSettings
getMatrixSettings()
General matrix settingsProject
getProject()
Returns project of this matrixFilterSettings
getRowSettings()
Row filter settingsboolean
isMainCriteriaDefined()
-
-
-
Constructor Detail
-
PersistenceManager
public PersistenceManager(Diagram diagram)
Initializes matrix settings component from provided Diagram element- Parameters:
diagram
- Matrix element
-
PersistenceManager
protected PersistenceManager()
Used to initialize quick tests.
-
-
Method Detail
-
getMatrixSettings
public MatrixSettings getMatrixSettings()
General matrix settings- Returns:
- settings for whole dependency matrix
-
getRowSettings
public FilterSettings getRowSettings()
Row filter settings- Returns:
- settings of the row filter
-
getColumnSettings
public FilterSettings getColumnSettings()
Column filter settings- Returns:
- settings of the column filter
-
getProject
public Project getProject()
Returns project of this matrix- Returns:
- project instance
-
isMainCriteriaDefined
public boolean isMainCriteriaDefined()
- Returns:
- true if row element type, row scope, column element type, column scope and dependency criteria are all defined in these settings
-
-