Class PersistenceManager
java.lang.Object
com.nomagic.magicdraw.dependencymatrix.persistence.PersistenceManager
All main matrix settings holder, which holds the references to the row, column and all
general Dependency Matrix settings
-
Constructor Summary
ModifierConstructorDescriptionprotected
Used to initialize quick tests.PersistenceManager
(Diagram diagram) Initializes matrix settings component from provided Diagram element -
Method Summary
Modifier and TypeMethodDescriptionColumn filter settingsGeneral matrix settingsReturns project of this matrixRow filter settingsboolean
-
Constructor Details
-
PersistenceManager
Initializes matrix settings component from provided Diagram element- Parameters:
diagram
- Matrix element
-
PersistenceManager
protected PersistenceManager()Used to initialize quick tests.
-
-
Method Details
-
getMatrixSettings
General matrix settings- Returns:
- settings for whole dependency matrix
-
getRowSettings
Row filter settings- Returns:
- settings of the row filter
-
getColumnSettings
Column filter settings- Returns:
- settings of the column filter
-
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
-