package persons;

/**
 * Created by fcmam5 on 11/13/15.
 * Implemented by
 */
public class Volunteer extends Personne {
  
 
     
     private int age ;
     private double poids ;
     private int physical_cond_scale ;

    public Volunteer(int age, double poids, int physical_cond_scale, String name, String firstName, String grouping, String[] adresse) {
        super(name, firstName, grouping, adresse);
        this.age = age;
        this.poids = poids;
        this.physical_cond_scale = physical_cond_scale;
    }


    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    
    
    
    public double getPoids() {
        return poids;
    }
     public void setPoids(double poids) {
        this.poids = poids;
    }

    public int getPhysical_cond_scale() {
        return physical_cond_scale;
    }

    public void setPhysical_cond_scale(int physical_cond_scale) {
        this.physical_cond_scale = physical_cond_scale;
    }
     
   
     }
     

@@ -66,16 +66,31 @@
 ented by
+  nourelhouda31
 %0A */%0Apub
@@ -132,41 +132,8 @@
 e %7B%0A
-  %0A %0A     %0A     private int age ;
 %0A   
@@ -170,19 +170,20 @@
 private 
-int
+byte
  physica
@@ -193,15 +193,41 @@
 ond_
-scale ;
+rate; // Scale on 5 (Format: x/5)
 %0A%0A  
@@ -268,19 +268,20 @@
  poids, 
-int
+byte
  physica
@@ -287,20 +287,19 @@
 al_cond_
-scal
+rat
 e, Strin
@@ -351,18 +351,16 @@
 ring
-%5B%5D
  adresse
 ) %7B%0A
@@ -355,16 +355,18 @@
  adresse
+%5B%5D
 ) %7B%0A    
@@ -392,16 +392,20 @@
 stName, 
+age,
 grouping
@@ -420,32 +420,8 @@
 e);%0A
-        this.age = age;%0A
     
@@ -463,36 +463,35 @@
 s.physical_cond_
-scal
+rat
 e = physical_con
@@ -496,149 +496,20 @@
 ond_
-scale;%0A    %7D%0A%0A%0A    public int getAge() %7B%0A        return age;%0A    %7D%0A%0A    public void setAge(int age) %7B%0A        this.age = age;%0A    %7D%0A    %0A    
+rate;%0A    %7D%0A
 %0A   
@@ -657,19 +657,20 @@
  public 
-int
+byte
  getPhys
@@ -679,20 +679,19 @@
 al_cond_
-scal
+rat
 e() %7B%0A  
@@ -709,36 +709,35 @@
 n physical_cond_
-scal
+rat
 e;%0A    %7D%0A%0A    pu
@@ -767,17 +767,17 @@
 ond_
-scale(int
+rate(byte
  phy
@@ -787,20 +787,19 @@
 al_cond_
-scal
+rat
 e) %7B%0A   
@@ -822,20 +822,19 @@
 al_cond_
-scal
+rat
 e = phys
@@ -847,12 +847,11 @@
 ond_
-scal
+rat
 e;%0A 

Modify params