Medicament.java
1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package com.example.martin.projetv5;
/**
* Created by martin on 20/02/2017.
*/
public class Medicament {
Integer idM;
String nom1;
String nom2;
String posologies;
String indications;
String logo;
public Medicament(Integer mId, String mNom1, String mNom2, String poso, String indic, String mLogo){
idM = mId;
nom1 = mNom1;
nom2 = mNom2;
posologies = poso;
indications = indic;
logo = mLogo;
}
public void setIdM(Integer idM){
this.idM = idM;
}
public void setNom1(String mNom1){
nom1 = mNom1;
}
public void setNom2(String mNom2){
nom2 = mNom2;
}
public void setPosologies(String poso) {
posologies = poso;
}
public void setIndications(String indic) {
indications = indic;
}
public void setLogo(String mLogo){
logo = mLogo;
}
public Integer getIdM(){
return idM;
}
public String getNom1(){
return nom1;
}
public String getNom2(){
return nom2;
}
public String getPosologies(){ return posologies; }
public String getIndications(){ return indications; }
public String getLogo(){
return logo;
}
}