Rev 12 | Rev 28 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.client;
public class InventoryItem {
private String name=null;
private String nomenclaturalNumber=null;
private String location=null;
private String location_id=null;
private String date=null;
private String complementlocation=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) {
this.name=name;
this.nomenclaturalNumber=nomenclaturalNumber;
// Suppresion indication departementale (on pourrait faire mieux !!)
int pos=location.indexOf(" (" );
if (pos>=0) {
this.location=location.substring(0,pos);
}
else {
this.location=location;
}
this.location_id=location_id;
this.date=date;
this.complementlocation=complementlocation;
this.comment=comment;
this.ordre=ordre;
}
public String getLocation() {
return location;
}
public String getLocation_id() {
return location_id;
}
public String getName() {
return name;
}
public String getNomenclaturalNumber() {
return nomenclaturalNumber;
}
public String getComment() {
return comment;
}
public String getComplementlocation() {
return complementlocation;
}
public String getDate() {
return date;
}
public String getOrdre() {
return ordre;
}
}