/Users/johnr/Desktop/IA pdf Downloads/Criteria__P__-_Coding_Project_Upload_all_2022-05-03/Motto_CSIA_04_25/src/main/java/com/mycompany/motto_csia/Exercises.java |
1
2 nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt
3 nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java
4
5 package com.mycompany.motto_csia;
6
7
8
9 @author
10
11 public class Exercises {
12 private String exerciseName = "Not Set Yet";
13 private String bodyPart = "Select";
14 private String weightType = "Select";
15
16 public Exercises(){
17
18 }
19
20 public Exercises(String exerciseName, String bodyPart, String weightType){
21 this.exerciseName = exerciseName;
22 this.bodyPart = bodyPart;
23 this.weightType = weightType;
24 }
25
26 public String getExerciseName(){
27 return exerciseName;
28 }
29
30 public String getExerciseBodyPart(){
31 return bodyPart;
32 }
33
34 public String getExerciseWeightType(){
35 return weightType;
36 }
37
38
39 }
40