+/*
+ * Copyright (c) 1995-2013, Index Data
+ * All rights reserved.
+ * See the file LICENSE for details.
+ */
package org.yaz4j;
-public class CQLQuery
-{
- private String query = null;
-
- public CQLQuery(String query)
- {
- this.query = query;
- }
+import org.yaz4j.jni.yaz4jlib;
- public String getQueryString()
- {
- return query ;
- }
-
- public void setQueryString( String query)
- {
- this.query = query ;
- }
+/**
+ *
+ * @author jakub
+ */
+public class CQLQuery extends Query {
+
+ public CQLQuery(String cqlQuery) {
+ super(cqlQuery);
+ yaz4jlib.ZOOM_query_cql(query, cqlQuery);
+ }
+
}