Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
- package aps1;
- /**
- *
- * @author beNdZy
- */
- public class Koncert extends Dogodek {
- protected String izvajalec;
- protected String vrsta;
- protected String[] dela=new String[5];
- protected double[] dolzina=new double[5];
- public Koncert(String izvajalec, String vrsta, String[] dela, double[] dolzina, Kraj kraj, Datum datumZ, Datum datumK, Cas caZ, Cas casK, Cena cena, int steviloUdelezencev) {
- super(kraj, datumZ, datumK, caZ, casK, cena, steviloUdelezencev);
- this.izvajalec = izvajalec;
- this.vrsta = vrsta;
- this.dela = dela;
- this.dolzina = dolzina;
- }
- //testni konstruktor
- public String[] getDela() {
- return dela;
- }
- public void setDela(String[] dela) {
- this.dela = dela;
- }
- public double[] getDolzina() {
- return dolzina;
- }
- public void setDolzina(double[] dolzina) {
- this.dolzina = dolzina;
- }
- public String getIzvajalec() {
- return izvajalec;
- }
- public void setIzvajalec(String izvajalec) {
- this.izvajalec = izvajalec;
- }
- public String getVrsta() {
- return vrsta;
- }
- public void setVrsta(String vrsta) {
- this.vrsta = vrsta;
- }
- }
Add Comment
Please, Sign In to add comment