]> gitweb.fperrin.net Git - GpsPrune.git/blobdiff - tim/prune/data/FieldType.java
Version 12, December 2010
[GpsPrune.git] / tim / prune / data / FieldType.java
diff --git a/tim/prune/data/FieldType.java b/tim/prune/data/FieldType.java
deleted file mode 100644 (file)
index a92748a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-package tim.prune.data;
-
-/**
- * Class to represent a type of field,
- * for example coordinate or integer
- */
-public class FieldType
-{
-       private char _id = 0;
-
-       public static final FieldType NONE =  new FieldType('0');
-       public static final FieldType INT =   new FieldType('1');
-       public static final FieldType BOOL =  new FieldType('2');
-       public static final FieldType COORD = new FieldType('3');
-       public static final FieldType TIME =  new FieldType('4');
-
-
-       /**
-        * Private constructor
-        * @param inId identifier
-        */
-       private FieldType(char inId)
-       {
-               _id = inId;
-       }
-
-       /**
-        * Method only needed to avoid compiler warnings
-        * @return id
-        */
-       protected char getId() {
-               return _id;
-       }
-}