Show
Ignore:
Timestamp:
01/27/10 12:20:28 (2 years ago)
Author:
mszopinski
Message:

user <-> group interaction

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ssme/trunk/src/com/kh/ssme/model/ifc/User.java

    r4022 r4026  
    2323package com.kh.ssme.model.ifc; 
    2424 
    25 import java.util.Set; 
    26  
    27 import javax.persistence.Basic; 
    28 import javax.persistence.Column; 
     25import java.util.List; 
    2926 
    3027/** 
     
    3835        //private String mail_ = ""; 
    3936        //private String mobile_ = "";   
    40         //private Set<GroupEntity> groups = new TreeSet<GroupEntity>(); 
    41         //private Set<StayPlace> stayPlaces_ = new TreeSet<StayPlace>(); 
    42         //private Set<com.kh.ssme.model.ifc.Calendar> calendars_ = new TreeSet<com.kh.ssme.model.ifc.Calendar>(); 
    43         //private Set<Group> ownedGroups_ = new TreeSet<Group>(); 
     37        //private List<GroupEntity> groups = new ArrayList<GroupEntity>(); 
     38        //private List<StayPlace> stayPlaces_ = new ArrayList<StayPlace>(); 
     39        //private List<com.kh.ssme.model.ifc.Calendar> calendars_ = new ArrayList<com.kh.ssme.model.ifc.Calendar>(); 
     40        //private List<Group> ownedGroups_ = new ArrayList<Group>(); 
    4441         
    4542        public String getLogin(); 
     
    6360        public void setMobile(String mobile);    
    6461         
    65         public Set<Group> getGroups(); 
     62        public List<Group> getGroups(); 
    6663         
    67         public void setGroups(Set<Group> groups);  
     64        public void setGroups(List<Group> groups);  
    6865         
    69         public Set<StayPlace> getStayPlaces(); 
     66        public List<StayPlace> getStayPlaces(); 
    7067         
    71         public void setStayPlaces(Set<StayPlace> stayPlaces); 
     68        public void setStayPlaces(List<StayPlace> stayPlaces); 
    7269         
    73         public Set<com.kh.ssme.model.ifc.Calendar> getCalendars(); 
     70        public List<com.kh.ssme.model.ifc.Calendar> getCalendars(); 
    7471         
    75         public void setCalendars(Set<com.kh.ssme.model.ifc.Calendar> calendars); 
     72        public void setCalendars(List<com.kh.ssme.model.ifc.Calendar> calendars); 
    7673         
    77         public Set<Group> getOwnedGroups(); 
     74        public List<Group> getOwnedGroups(); 
    7875         
    79         public void setOwnedGroups(Set<Group> ownedGroups);      
     76        public void setOwnedGroups(List<Group> ownedGroups);     
    8077         
    8178}