Added README.txt and GPL Header to Source Files
[DHBWCampusApp.git] / app / src / main / java / de / dhbwloe / campusapp / fragments / VorlesungsplanExamsListItem.java
index 06d3343abf2aca156a7bac77bda6d8b6a21258dd..fb7fecd1e51c5b9de60097041c4146069ed4176c 100644 (file)
@@ -1,5 +1,19 @@
+/* VorlesungsplanExamsListItem.java
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
 package de.dhbwloe.campusapp.fragments;
-
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
@@ -13,13 +27,15 @@ public class VorlesungsplanExamsListItem {
     private int groupId;
     private String courseName;
     private String groupName;
+    private String eventLocation;
     private long eventStart, eventEnd;
     private int eventCount;
 
-    public VorlesungsplanExamsListItem(int groupid, String coursename, String groupname, long eventstart, long eventend, int eventcount) {
+    public VorlesungsplanExamsListItem(int groupid, String coursename, String groupname, String eventlocation, long eventstart, long eventend, int eventcount) {
         groupId = groupid;
         courseName = coursename;
         groupName = groupname;
+        eventLocation = eventlocation;
         eventStart = eventstart;
         eventEnd = eventend;
         eventCount = eventcount;
@@ -37,6 +53,10 @@ public class VorlesungsplanExamsListItem {
         return groupName;
     }
 
+    public String getEventLocation() {
+        return eventLocation;
+    }
+
     public String getEventDate() {
         if(eventStart == 0)
             return null;