2 * Created on 11/08/2003
5 package com.quantum.util;
7 import java.util.Vector;
10 * "record" class that holds an identifier and the resulting
11 * string. This string comes from applying rules to the identifier
12 * Also, can have a vector of lower-level classifiers.
17 public class OneLevelConverter {
18 private String id = "";
19 private String result = "";
20 private Vector lower = null;
22 OneLevelConverter(String id) {
26 // Getters and setters
30 public String getId() {
37 public Vector getLower() {
44 public String getResult() {
51 public void setId(String string) {
58 public void setLower(Vector vector) {
65 public void setResult(String string) {
70 * @see java.lang.Object#equals(java.lang.Object)
72 public boolean equals(Object obj) {
73 if (!(obj instanceof OneLevelConverter)) return false;
74 return this.id.equals(((OneLevelConverter)obj).id);