DATAJPA-413 - Polishing.
Removed some unnecessary accessor methods. Original pull request: #133.
This commit is contained in:
@@ -47,15 +47,7 @@ public class Item {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getManufacturerId() {
|
||||
return manufacturerId;
|
||||
}
|
||||
|
||||
public void setManufacturerId(Integer manufacturerId) {
|
||||
this.manufacturerId = manufacturerId;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,6 @@ import javax.persistence.Table;
|
||||
public class ItemSite {
|
||||
|
||||
@Id @ManyToOne Item item;
|
||||
|
||||
@Id @ManyToOne Site site;
|
||||
|
||||
public ItemSite() {}
|
||||
@@ -41,20 +40,4 @@ public class ItemSite {
|
||||
this.item = item;
|
||||
this.site = site;
|
||||
}
|
||||
|
||||
public Item getItem() {
|
||||
return item;
|
||||
}
|
||||
|
||||
public void setItem(Item item) {
|
||||
this.item = item;
|
||||
}
|
||||
|
||||
public Site getSite() {
|
||||
return site;
|
||||
}
|
||||
|
||||
public void setSite(Site site) {
|
||||
this.site = site;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user