1 // $Id: CQLPrefix.java,v 1.5 2007-06-27 22:39:55 mike Exp $
3 package org.z3950.zing.cql;
6 * Represents a CQL prefix mapping from short name to long identifier.
8 * @version $Id: CQLPrefix.java,v 1.5 2007-06-27 22:39:55 mike Exp $
10 public class CQLPrefix {
12 * The short name of the prefix mapping. That is, the prefix
13 * itself, such as <TT>dc</TT>, as it might be used in an index
14 * like <TT>dc.title</TT>.
18 public String getName() {
23 * The full identifier name of the prefix mapping. That is,
24 * typically, a URI permanently allocated to a specific index
25 * set, such as <TT>http://zthes.z3950.org/cql/1.0<TT>.
29 public String getIdentifier() {
34 * Creates a new CQLPrefix mapping, which maps the specified name
35 * to the specified identifier.
37 CQLPrefix(String name, String identifier) {
39 this.identifier = identifier;