2,6 → 2,7 |
|
public class InventoryItem { |
|
// TODO : Singleton ? |
|
private String name=null; |
private String nomenclaturalNumber=null; |
8,13 → 9,26 |
private String location=null; |
private String location_id=null; |
private String date=null; |
private String complementlocation=null; |
private String milieu=null; |
private String comment=null; |
private String ordre=null; |
|
|
|
public InventoryItem(String name,String nomenclaturalNumber, String location, String location_id, String date, String complementlocation, String comment,String ordre) { |
// Constructeur |
|
|
// Constructeur sur saisie |
|
public InventoryItem() { |
|
} |
|
|
// Alimentation contenu depuis saisie |
|
public void setContent(String name,String nomenclaturalNumber, String location, String location_id, String date, String milieu, String comment,String ordre) { |
|
|
this.name=name; |
this.nomenclaturalNumber=nomenclaturalNumber; |
30,7 → 44,7 |
|
this.location_id=location_id; |
this.date=date; |
this.complementlocation=complementlocation; |
this.milieu=milieu; |
this.comment=comment; |
this.ordre=ordre; |
|
37,6 → 51,7 |
} |
|
|
|
public String getLocation() { |
return location; |
} |
62,8 → 77,8 |
} |
|
|
public String getComplementlocation() { |
return complementlocation; |
public String getMilieu() { |
return milieu; |
} |
|
|