-// $Id: CQLRelation.java,v 1.17 2007-06-29 10:23:02 mike Exp $
+// $Id: CQLRelation.java,v 1.19 2007-07-03 13:40:58 mike Exp $
package org.z3950.zing.cql;
import java.util.Vector;
/**
* Represents a relation between a CQL index and term.
*
- * @version $Id: CQLRelation.java,v 1.17 2007-06-29 10:23:02 mike Exp $
+ * @version $Id: CQLRelation.java,v 1.19 2007-07-03 13:40:58 mike Exp $
*/
public class CQLRelation extends CQLNode {
ModifierSet ms;
* Typical base relations include the usual six ordering relations
* (<TT><=</TT>, <TT>></TT>, <I>etc.</I>), the text
* relations <TT>any</TT>, <TT>all</TT> and <TT>exact</TT>, the
- * server-choice relation <TT>scr</TT> and profiled relations of
+ * old server-choice relation <TT>scr</TT> and profiled relations of
* the form <TT><I>prefix</I>.<I>name</I></TT>.
*/
// ### Seems wrong: a modifier set should not have a base, a
return ms.getModifiers();
}
- public String toXCQL(int level, Vector prefixes) {
+ public String toXCQL(int level, Vector prefixes, Vector sortkeys) {
+ if (sortkeys != null)
+ throw new Error("CQLRelation.toXCQL() called with sortkeys");
+
return ms.toXCQL(level, "relation");
}