package model;

public class TitanDSM{
    private int sizeOfMatrix;
    private int[][] dataMatrix;
    private String [] nameOfClass;

    public int getSize(){
        return sizeOfMatrix;
    }
    public void setSize(int size){
        sizeOfMatrix =  size;
    }

    public int[][] getData(){
        return dataMatrix;
    }
    public void setData(int[][] data){
        dataMatrix = data;
    }

    public String[] getNames(){
        return nameOfClass;
    }
    public void setNames(String[] names){
        nameOfClass = names;
    }
}


@@ -130,16 +130,211 @@
 Class;%0A%0A
+    public TitanDSM(int sizeOfMatrix) %7B%0A        this.sizeOfMatrix = sizeOfMatrix;%0A        dataMatrix = new int%5BsizeOfMatrix%5D%5BsizeOfMatrix%5D;%0A        nameOfClass =  new String%5BsizeOfMatrix%5D;%0A    %7D%0A
     publ

add dsm constructor