Moved Library value obj to more reasonable home
authorkenstir <kenstir@gmail.com>
Fri, 4 Dec 2015 01:57:34 +0000 (20:57 -0500)
committerkenstir <kenstir@gmail.com>
Fri, 4 Dec 2015 01:57:34 +0000 (20:57 -0500)
Open-ILS/src/Android/core/src/org/evergreen_ils/globals/Library.java [new file with mode: 0644]

diff --git a/Open-ILS/src/Android/core/src/org/evergreen_ils/globals/Library.java b/Open-ILS/src/Android/core/src/org/evergreen_ils/globals/Library.java
new file mode 100644 (file)
index 0000000..fded242
--- /dev/null
@@ -0,0 +1,23 @@
+package org.evergreen_ils.globals;
+
+import android.location.Location;
+import android.text.TextUtils;
+
+/** value class
+ * Created by kenstir on 11/5/2015.
+ */
+public class Library {
+    public String url;            // e.g. "https://catalog.cwmars.org"
+    public String name;           // e.g. "C/W MARS"
+    public String directory_name; // e.g. "Massachusetts, US (C/W MARS)"
+    public Location location;
+    public Library(String url, String name, String directory_name, Location location) {
+        this.url = url;
+        this.name = name;
+        this.directory_name = directory_name;
+        this.location = location;
+    }
+    public Library(String url, String name) {
+        this(url, name, null, null);
+    }
+}