diff options
Diffstat (limited to 'Master/Daten- und Systemintegration/Praktikum/Projekte/DSI-Praktikum-1/ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java')
| -rw-r--r-- | Master/Daten- und Systemintegration/Praktikum/Projekte/DSI-Praktikum-1/ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Master/Daten- und Systemintegration/Praktikum/Projekte/DSI-Praktikum-1/ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java b/Master/Daten- und Systemintegration/Praktikum/Projekte/DSI-Praktikum-1/ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java new file mode 100644 index 0000000..fe276fa --- /dev/null +++ b/Master/Daten- und Systemintegration/Praktikum/Projekte/DSI-Praktikum-1/ausgang/DSI-ejb/src/java/helper/AuftragsPosition.java @@ -0,0 +1,56 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ + +package helper; + +import java.io.Serializable; + +/** + * Die Klasse stellt eine Auftragsposition dar + * @author jmueller + */ +public class AuftragsPosition implements Serializable { + private int id; + private int anzahl; + + public AuftragsPosition() { + this.id = 0; + this.anzahl = 0; + } + + public AuftragsPosition(int _id, int _anzahl){ + this.id = _id; + this.anzahl = _anzahl; + } + + + public int getId() { + return id; + } + + public void setId(int id) { + this.id = id; + } + + public int getAnzahl() { + return anzahl; + } + + public void setAnzahl(int anzahl) { + this.anzahl = anzahl; + } + + + @Override + public String toString(){ + return "Id: " + this.id + ", Anzahl: " + this.anzahl; + } + + + + + + +} |
