java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
changeset 145 0efefbf5f8b6
parent 127 2b6107e510d8
child 154 bf21a4abea9b
     1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java	Sat Jun 19 14:37:11 2010 +0200
     1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java	Sun Jun 20 14:46:47 2010 +0200
     1.3 @@ -13,129 +13,129 @@
     1.4   */
     1.5  public class Podnik implements Serializable {
     1.6  
     1.7 -    private int id;
     1.8 -    private String nazev;
     1.9 -    private String popis;
    1.10 -    private String url;
    1.11 -    private String ulice;
    1.12 -    private Date datum;
    1.13 -    private Integer cisloPopisne;
    1.14 -    private String mesto;
    1.15 -    private String spravce;
    1.16 -    private List<Fotka> fotky = new ArrayList<Fotka>();
    1.17 -    private Set<Komentar> komentare = new HashSet<Komentar>();
    1.18 -    private Double sirka;
    1.19 -    private Double delka;
    1.20 +	private int id;
    1.21 +	private String nazev;
    1.22 +	private String popis;
    1.23 +	private String url;
    1.24 +	private String ulice;
    1.25 +	private Date datum;
    1.26 +	private Integer cisloPopisne;
    1.27 +	private String mesto;
    1.28 +	private String spravce;
    1.29 +	private List<Fotka> fotky = new ArrayList<Fotka>();
    1.30 +	private Set<Komentar> komentare = new HashSet<Komentar>();
    1.31 +	private Double sirka;
    1.32 +	private Double delka;
    1.33  
    1.34 -    public Podnik() {
    1.35 -    }
    1.36 +	public Podnik() {
    1.37 +	}
    1.38  
    1.39 -    public Podnik(int id, String nazev) {
    1.40 -	this.id = id;
    1.41 -	this.nazev = nazev;
    1.42 -    }
    1.43 +	public Podnik(int id, String nazev) {
    1.44 +		this.id = id;
    1.45 +		this.nazev = nazev;
    1.46 +	}
    1.47  
    1.48 -    public int getId() {
    1.49 -	return id;
    1.50 -    }
    1.51 +	public int getId() {
    1.52 +		return id;
    1.53 +	}
    1.54  
    1.55 -    public void setId(int id) {
    1.56 -	this.id = id;
    1.57 -    }
    1.58 +	public void setId(int id) {
    1.59 +		this.id = id;
    1.60 +	}
    1.61  
    1.62 -    public String getNazev() {
    1.63 -	return nazev;
    1.64 -    }
    1.65 +	public String getNazev() {
    1.66 +		return nazev;
    1.67 +	}
    1.68  
    1.69 -    public void setNazev(String nazev) {
    1.70 -	this.nazev = nazev;
    1.71 -    }
    1.72 +	public void setNazev(String nazev) {
    1.73 +		this.nazev = nazev;
    1.74 +	}
    1.75  
    1.76 -    public String getPopis() {
    1.77 -	return popis;
    1.78 -    }
    1.79 +	public String getPopis() {
    1.80 +		return popis;
    1.81 +	}
    1.82  
    1.83 -    public void setPopis(String popis) {
    1.84 -	this.popis = popis;
    1.85 -    }
    1.86 +	public void setPopis(String popis) {
    1.87 +		this.popis = popis;
    1.88 +	}
    1.89  
    1.90 -    public String getUrl() {
    1.91 -	return url;
    1.92 -    }
    1.93 +	public String getUrl() {
    1.94 +		return url;
    1.95 +	}
    1.96  
    1.97 -    public void setUrl(String url) {
    1.98 -	this.url = url;
    1.99 -    }
   1.100 +	public void setUrl(String url) {
   1.101 +		this.url = url;
   1.102 +	}
   1.103  
   1.104 -    public String getUlice() {
   1.105 -	return ulice;
   1.106 -    }
   1.107 +	public String getUlice() {
   1.108 +		return ulice;
   1.109 +	}
   1.110  
   1.111 -    public void setUlice(String ulice) {
   1.112 -	this.ulice = ulice;
   1.113 -    }
   1.114 +	public void setUlice(String ulice) {
   1.115 +		this.ulice = ulice;
   1.116 +	}
   1.117  
   1.118 -    public Date getDatum() {
   1.119 -	return datum;
   1.120 -    }
   1.121 +	public Date getDatum() {
   1.122 +		return datum;
   1.123 +	}
   1.124  
   1.125 -    public void setDatum(Date datum) {
   1.126 -	this.datum = datum;
   1.127 -    }
   1.128 +	public void setDatum(Date datum) {
   1.129 +		this.datum = datum;
   1.130 +	}
   1.131  
   1.132 -    public int getCisloPopisne() {
   1.133 -	return cisloPopisne;
   1.134 -    }
   1.135 +	public int getCisloPopisne() {
   1.136 +		return cisloPopisne;
   1.137 +	}
   1.138  
   1.139 -    public void setCisloPopisne(int cisloPopisne) {
   1.140 -	this.cisloPopisne = cisloPopisne;
   1.141 -    }
   1.142 +	public void setCisloPopisne(int cisloPopisne) {
   1.143 +		this.cisloPopisne = cisloPopisne;
   1.144 +	}
   1.145  
   1.146 -    public String getMesto() {
   1.147 -	return mesto;
   1.148 -    }
   1.149 +	public String getMesto() {
   1.150 +		return mesto;
   1.151 +	}
   1.152  
   1.153 -    public void setMesto(String mesto) {
   1.154 -	this.mesto = mesto;
   1.155 -    }
   1.156 +	public void setMesto(String mesto) {
   1.157 +		this.mesto = mesto;
   1.158 +	}
   1.159  
   1.160 -    public String getSpravce() {
   1.161 -	return spravce;
   1.162 -    }
   1.163 +	public String getSpravce() {
   1.164 +		return spravce;
   1.165 +	}
   1.166  
   1.167 -    public void setSpravce(String spravce) {
   1.168 -	this.spravce = spravce;
   1.169 -    }
   1.170 +	public void setSpravce(String spravce) {
   1.171 +		this.spravce = spravce;
   1.172 +	}
   1.173  
   1.174 -    public List<Fotka> getFotky() {
   1.175 -	return fotky;
   1.176 -    }
   1.177 +	public List<Fotka> getFotky() {
   1.178 +		return fotky;
   1.179 +	}
   1.180  
   1.181 -    public void setFotky(List<Fotka> fotky) {
   1.182 -	this.fotky = fotky;
   1.183 -    }
   1.184 +	public void setFotky(List<Fotka> fotky) {
   1.185 +		this.fotky = fotky;
   1.186 +	}
   1.187  
   1.188 -    public Double getSirka() {
   1.189 -	return sirka;
   1.190 -    }
   1.191 +	public Double getSirka() {
   1.192 +		return sirka;
   1.193 +	}
   1.194  
   1.195 -    public void setSirka(Double sirka) {
   1.196 -	this.sirka = sirka;
   1.197 -    }
   1.198 +	public void setSirka(Double sirka) {
   1.199 +		this.sirka = sirka;
   1.200 +	}
   1.201  
   1.202 -    public Double getDelka() {
   1.203 -	return delka;
   1.204 -    }
   1.205 +	public Double getDelka() {
   1.206 +		return delka;
   1.207 +	}
   1.208  
   1.209 -    public void setDelka(Double delka) {
   1.210 -	this.delka = delka;
   1.211 -    }
   1.212 +	public void setDelka(Double delka) {
   1.213 +		this.delka = delka;
   1.214 +	}
   1.215  
   1.216 -    public Set<Komentar> getKomentare() {
   1.217 -	return komentare;
   1.218 -    }
   1.219 +	public Set<Komentar> getKomentare() {
   1.220 +		return komentare;
   1.221 +	}
   1.222  
   1.223 -    public void setKomentare(Set<Komentar> komentare) {
   1.224 -	this.komentare = komentare;
   1.225 -    }
   1.226 +	public void setKomentare(Set<Komentar> komentare) {
   1.227 +		this.komentare = komentare;
   1.228 +	}
   1.229  }