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