java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java
changeset 72 81c64c582a26
parent 67 fa7e30dee3b3
child 100 01be78803f73
     1.1 --- a/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java	Sun Mar 14 01:05:35 2010 +0100
     1.2 +++ b/java/nekurak.net-lib/src/cz/frantovo/nekurak/dto/Podnik.java	Tue Mar 16 14:33:05 2010 +0100
     1.3 @@ -1,8 +1,9 @@
     1.4  package cz.frantovo.nekurak.dto;
     1.5  
     1.6  import java.io.Serializable;
     1.7 +import java.util.ArrayList;
     1.8  import java.util.Date;
     1.9 -import java.util.HashSet;
    1.10 +import java.util.List;
    1.11  import java.util.Set;
    1.12  
    1.13  /**
    1.14 @@ -20,7 +21,7 @@
    1.15      private int cisloPopisne;
    1.16      private String mesto;
    1.17      private String spravce;
    1.18 -    private Set<Fotka> fotky = new HashSet<Fotka>();
    1.19 +    private List<Fotka> fotky = new ArrayList<Fotka>();
    1.20  
    1.21      public Podnik() {
    1.22      }
    1.23 @@ -102,11 +103,11 @@
    1.24  	this.spravce = spravce;
    1.25      }
    1.26  
    1.27 -    public Set<Fotka> getFotky() {
    1.28 +    public List<Fotka> getFotky() {
    1.29  	return fotky;
    1.30      }
    1.31  
    1.32 -    public void setFotky(Set<Fotka> fotky) {
    1.33 +    public void setFotky(List<Fotka> fotky) {
    1.34  	this.fotky = fotky;
    1.35      }
    1.36  }