This commit is contained in:
Tomasz Piechucki 2011-03-22 18:27:46 +00:00
parent e79cc222d7
commit 950e78b73c

View file

@ -0,0 +1,34 @@
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Logic;
/**
*
* @author Tomek
*/
public class Pietro {
private Pasazer [] pasazerowie;
public Pietro(){
}
public Pasazer [] GetPasazerowie(){
return this.pasazerowie;
}
public void SetPasazerowie(Pasazer [] pasazerowie) {
this.pasazerowie = pasazerowie;
}
public void AddPasazer(Pasazer pasazer) {
this.pasazerowie[this.pasazerowie.length + 1] = pasazer;
}
public void DeletePasazer(Pasazer pasazer) {
throw new UnsupportedOperationException("Not supported yet.");
}
}