aboutsummaryrefslogtreecommitdiffstats
path: root/src/cgeo/geocaching/ICache.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgeo/geocaching/ICache.java')
-rw-r--r--src/cgeo/geocaching/ICache.java68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/cgeo/geocaching/ICache.java b/src/cgeo/geocaching/ICache.java
new file mode 100644
index 0000000..33ceae3
--- /dev/null
+++ b/src/cgeo/geocaching/ICache.java
@@ -0,0 +1,68 @@
+/**
+ *
+ */
+package cgeo.geocaching;
+
+
+/**
+ * Basic interface for caches
+ * @author blafoo
+ *
+ */
+public interface ICache {
+
+ /**
+ * @return The data returned by the HTTP-GET request for this cache. Only for testing purposes.
+ */
+ public String getData();
+
+ /**
+ * @return Geocode like GCxxxx
+ */
+ public String getGeocode();
+ /**
+ * @return
+ */
+ public String getType();
+ /**
+ * @return
+ */
+ public String getOwner();
+ /**
+ * @return
+ */
+ public String getSize();
+ /**
+ * @return
+ */
+ public Float getDifficulty();
+ /**
+ * @return
+ */
+ public Float getTerrain();
+ /**
+ * @return
+ */
+ public String getLatitute();
+ /**
+ * @return
+ */
+ public String getLongitude();
+ /**
+ * @return
+ */
+ public boolean isDisabled();
+ /**
+ * @return
+ */
+ public boolean isOwn();
+ /**
+ * @return
+ */
+ public boolean isArchived();
+ /**
+ * @return
+ */
+ public boolean isMembersOnly();
+
+}