/[projects]/android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureBean.java
ViewVC logotype

Diff of /android/TrainInfoService/src/dk/thoerup/traininfoservice/banedk/DepartureBean.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1059 by torben, Mon Aug 30 13:59:54 2010 UTC revision 1060 by torben, Thu Sep 16 13:32:10 2010 UTC
# Line 5  import java.util.HashSet; Line 5  import java.util.HashSet;
5  import java.util.List;  import java.util.List;
6  import java.util.Set;  import java.util.Set;
7    
8    import org.simpleframework.xml.Attribute;
9    import org.simpleframework.xml.ElementList;
10    import org.simpleframework.xml.Root;
11    
12    @Root(name="departureinfo")
13  public class DepartureBean {  public class DepartureBean {
14                    
15            @Attribute
16            boolean arrival;
17            
18            @Attribute(name="station")
19          String stationName;          String stationName;
20                    
21          Set<String> notifications = new HashSet<String>();  
22            
23            @ElementList(inline=true, name="train")
24          List<DepartureEntry> departureEntries = new ArrayList<DepartureEntry>();          List<DepartureEntry> departureEntries = new ArrayList<DepartureEntry>();
25                    
26            @ElementList(inline=true)
27            Set<String> notifications = new HashSet<String>();
28            
29          public Set<String> getNotifications() {          public Set<String> getNotifications() {
30                  return notifications;                  return notifications;
31          }          }

Legend:
Removed from v.1059  
changed lines
  Added in v.1060

  ViewVC Help
Powered by ViewVC 1.1.20