Class 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 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