-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved patient's exercises loading time
DAOExercise: modified method to slimmer ones - retrieveDoneExercises - retrieveNotDoneExercises SlimmerExercise: class entity for getting smaller exercises data ExerciseManager: - modified methods according to DAO ones homePagePatient: better managing of the loading of the exercises assigned to the users
- Loading branch information
1 parent
aa277f6
commit 4acc9f3
Showing
4 changed files
with
96 additions
and
113 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package model.entity; | ||
|
||
import java.sql.Date; | ||
|
||
public class SlimmerExercise { | ||
private int id; | ||
private String name; | ||
private Date insertionDate; | ||
|
||
public SlimmerExercise(int id, String name, Date insertionDate) { | ||
this.id = id; | ||
this.name = name; | ||
this.insertionDate = insertionDate; | ||
} | ||
|
||
public int getId() { | ||
return id; | ||
} | ||
|
||
public void setId(int id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public Date getInsertionDate() { | ||
return insertionDate; | ||
} | ||
|
||
public void setInsertionDate(Date insertionDate) { | ||
this.insertionDate = insertionDate; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters