Guest User

Untitled

a guest
Feb 20th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.39 KB | None | 0 0
  1. /*
  2.  * To change this template, choose Tools | Templates
  3.  * and open the template in the editor.
  4.  */
  5. package aps1;
  6.  
  7. /**
  8.  *
  9.  * @author beNdZy
  10.  */
  11. public class Koncert extends Dogodek {
  12.    
  13.     protected String izvajalec;
  14.     protected String vrsta;
  15.     protected String[] dela=new String[5];
  16.     protected double[] dolzina=new double[5];
  17.  
  18.     public Koncert(String izvajalec, String vrsta, String[] dela, double[] dolzina, Kraj kraj, Datum datumZ, Datum datumK, Cas caZ, Cas casK, Cena cena, int steviloUdelezencev) {
  19.         super(kraj, datumZ, datumK, caZ, casK, cena, steviloUdelezencev);
  20.         this.izvajalec = izvajalec;
  21.         this.vrsta = vrsta;
  22.         this.dela = dela;
  23.         this.dolzina = dolzina;
  24.     }
  25.  
  26.         //testni konstruktor
  27.    
  28.     public String[] getDela() {
  29.         return dela;
  30.     }
  31.  
  32.     public void setDela(String[] dela) {
  33.         this.dela = dela;
  34.     }
  35.  
  36.     public double[] getDolzina() {
  37.         return dolzina;
  38.     }
  39.  
  40.     public void setDolzina(double[] dolzina) {
  41.         this.dolzina = dolzina;
  42.     }
  43.  
  44.     public String getIzvajalec() {
  45.         return izvajalec;
  46.     }
  47.  
  48.     public void setIzvajalec(String izvajalec) {
  49.         this.izvajalec = izvajalec;
  50.     }
  51.  
  52.     public String getVrsta() {
  53.         return vrsta;
  54.     }
  55.  
  56.     public void setVrsta(String vrsta) {
  57.         this.vrsta = vrsta;
  58.     }
  59.    
  60.    
  61.    
  62.    
  63.    
  64. }
Add Comment
Please, Sign In to add comment