package com.example.textmate.sqlite.models;

import java.lang.String;

public class textMateScores {


}

@@ -94,12 +94,1058 @@
 cores %7B%0A
+    private int id, numUpdate;%0A    private int numScores = 30;%0A    private String name;%0A    private double%5B%5D score = new double%5BnumScores%5D;%0A%0A   //Constructor%0A   //Empty Constructor%0A    public textMateScores()%7B%7D%0A    //Base Constructor%0A    public textMateScores(int id,String name,double%5B%5D score, int numUpdate)%7B%0A        this.id=id;%0A        this.name=name;%0A        for(int i=0;i%3CnumScores;i++)%7B%0A        this.score%5Bi%5D=0;%7D%0A        this.numUpdate=0;%0A    %7D%0A%0A    //Class Methods%0A    public int fetchID()%7Breturn this.id;%7D%0A    public void setID(int ID)%7Bthis.id=ID;%7D%0A%0A    public String fetchName()%7Breturn this.name;%7D%0A    public void setName(String newName)%7Bthis.name=newName;%7D%0A%0A    public int fetchNumUpdate()%7Breturn this.numUpdate;%7D%0A    public void setNumUpdate(int newNumUpdate)%7Bthis.numUpdate=newNumUpdate;%7D%0A%0A    public double fetchScore(int posScore)%7Breturn this.score%5B(this.numUpdate %25 numScores)%5D;%7D%0A    public void setScore(double newScore)%7B%0A        this.score%5Bthis.numUpdate%25numScores%5D = newScore;%0A        this.setNumUpdate(this.numUpdate+1);%0A    %7D%0A
 %0A%0A%7D%0A

Update to Model Class for Database