Hide some memebers as private, add getters
[cql-java-moved-to-github.git] / src / main / java / org / z3950 / zing / cql / CQLPrefix.java
index af7c906..374535a 100644 (file)
@@ -14,14 +14,22 @@ public class CQLPrefix {
      * itself, such as <TT>dc</TT>, as it might be used in an index
      * like <TT>dc.title</TT>.
      */
-    public String name;
+    String name;
+
+    public String getName() {
+        return name;
+    }
 
     /**
      * The full identifier name of the prefix mapping.  That is,
      * typically, a URI permanently allocated to a specific index
      * set, such as <TT>http://zthes.z3950.org/cql/1.0<TT>.
      */
-    public String identifier;
+    String identifier;
+
+    public String getIdentifier() {
+        return identifier;
+    }
 
     /**
      * Creates a new CQLPrefix mapping, which maps the specified name