X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Forg%2Fz3950%2Fzing%2Fcql%2FCQLTermNode.java;h=87511fca488ffdd03036af590264f35c43b836de;hb=8e35f984081a29de9b53af7c1b2fbf981c474d88;hp=fc310ede2d2fe44ec3b96ce5dee816384312a81e;hpb=55136632bf2d7d9a54fe08bbb89bed6c03eb70b1;p=cql-java-moved-to-github.git diff --git a/src/org/z3950/zing/cql/CQLTermNode.java b/src/org/z3950/zing/cql/CQLTermNode.java index fc310ed..87511fc 100644 --- a/src/org/z3950/zing/cql/CQLTermNode.java +++ b/src/org/z3950/zing/cql/CQLTermNode.java @@ -1,4 +1,4 @@ -// $Id: CQLTermNode.java,v 1.25 2007-06-27 22:39:55 mike Exp $ +// $Id: CQLTermNode.java,v 1.26 2007-06-27 22:44:40 mike Exp $ package org.z3950.zing.cql; import java.util.Properties; @@ -12,7 +12,7 @@ import java.util.Vector; * these must be provided - you can't have an index without a * relation or vice versa. * - * @version $Id: CQLTermNode.java,v 1.25 2007-06-27 22:39:55 mike Exp $ + * @version $Id: CQLTermNode.java,v 1.26 2007-06-27 22:44:40 mike Exp $ */ public class CQLTermNode extends CQLNode { private String index; @@ -31,7 +31,6 @@ public class CQLTermNode extends CQLNode { } public String getIndex() { return index; } - public String getQualifier() { return getIndex(); } // for legacy applications public CQLRelation getRelation() { return relation; } public String getTerm() { return term; } @@ -91,7 +90,7 @@ public class CQLTermNode extends CQLNode { attr = config.getProperty("index." + index); if (attr == null) - throw new UnknownQualifierException(index); + throw new UnknownIndexException(index); attrs.add(attr); String rel = relation.getBase();