1 // $Id: CQLPrefix.java,v 1.1 2002-11-14 22:04:16 mike Exp $
3 package org.z3950.zing.cql;
4 import java.lang.String;
7 * Represents a CQL prefix mapping from short name to long identifier.
9 * @version $Id: CQLPrefix.java,v 1.1 2002-11-14 22:04:16 mike Exp $
11 public class CQLPrefix {
13 * The short name of the prefix mapping - that is, the prefix
14 * itself, such as <TT>dc</TT>, as it might be used in a qualifier
15 * like <TT>dc.title</TT>.
20 * The full identifier name of the prefix mapping - that is, the prefix
21 * itself, such as <TT>dc</TT>, as it might be used in a qualifier
22 * like <TT>dc.title</TT>.
27 * Creates a new CQLPrefix mapping, which maps the specified name
28 * to the specified identifier.
30 CQLPrefix(String name, String identifier) {
32 this.identifier = identifier;