aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/IBasicCache.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/IBasicCache.java')
-rw-r--r--main/src/cgeo/geocaching/IBasicCache.java51
1 files changed, 51 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/IBasicCache.java b/main/src/cgeo/geocaching/IBasicCache.java
new file mode 100644
index 0000000..88b78ca
--- /dev/null
+++ b/main/src/cgeo/geocaching/IBasicCache.java
@@ -0,0 +1,51 @@
+/**
+ *
+ */
+package cgeo.geocaching;
+
+import cgeo.geocaching.enumerations.CacheSize;
+import cgeo.geocaching.enumerations.CacheType;
+
+
+/**
+ * @author blafoo
+ *
+ */
+public interface IBasicCache extends ILogable {
+
+ public abstract String getGuid();
+
+ /**
+ * @return Tradi, multi etc.
+ */
+ public abstract CacheType getCacheType();
+
+ /**
+ * @return Micro, small etc.
+ */
+ public abstract CacheSize getSize();
+
+ /**
+ * @return true if the user already found the cache
+ *
+ */
+ public abstract boolean isFound();
+
+ /**
+ * @return true if the cache is disabled, false else
+ */
+ public abstract boolean isDisabled();
+
+ /**
+ * @return Difficulty assessment
+ */
+ public abstract Float getDifficulty();
+
+ /**
+ * @return Terrain assessment
+ */
+ public abstract Float getTerrain();
+
+
+
+}