Modified Article to fit for transformation step
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -2,9 +2,10 @@ package de.dis2017.data;
|
|||||||
|
|
||||||
public class Article {
|
public class Article {
|
||||||
private int _articleID;
|
private int _articleID;
|
||||||
private int _productGroupID;
|
|
||||||
private String _name;
|
private String _name;
|
||||||
private float _price;
|
private String _productGroup;
|
||||||
|
private String _productFamily;
|
||||||
|
private String _productCategory;
|
||||||
|
|
||||||
public int get_articleID() {
|
public int get_articleID() {
|
||||||
return _articleID;
|
return _articleID;
|
||||||
@ -14,14 +15,6 @@ public class Article {
|
|||||||
_articleID = articleID;
|
_articleID = articleID;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int get_productGroupID() {
|
|
||||||
return _productGroupID;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void set_productGroupID(int productGroupID) {
|
|
||||||
_productGroupID = productGroupID;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String get_name() {
|
public String get_name() {
|
||||||
return _name;
|
return _name;
|
||||||
}
|
}
|
||||||
@ -30,11 +23,28 @@ public class Article {
|
|||||||
_name = name;
|
_name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float get_price() {
|
public String get_productGroup() {
|
||||||
return _price;
|
return _productGroup;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void set_price(float price) {
|
public void set_productGroup(String productGroup) {
|
||||||
_price = price;
|
_productGroup = productGroup;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public String get_productFamily() {
|
||||||
|
return _productFamily;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void set_productFamily(String _productFamily) {
|
||||||
|
this._productFamily = _productFamily;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String get_productCategory() {
|
||||||
|
return _productCategory;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void set_productCategory(String _productCategory) {
|
||||||
|
this._productCategory = _productCategory;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user