01: /*
02: * CONFIDENTIAL AND PROPRIETARY SOURCE CODE OF
03: * NETSCAPE COMMUNICATIONS CORPORATION
04: *
05: * Copyright (c) 1996 Netscape Communications Corporation.
06: * All Rights Reserved.
07: * Use of this Source Code is subject to the terms of the applicable
08: * license agreement from Netscape Communications Corporation.
09: */
10:
11: package soif;
12:
13: /**
14: Encapsulates data for a schema table.
15: *
16: */
17: public class SchemaTblNode {
18: /**
19: * Table name.
20: */
21: protected String name;
22: /**
23: * Table label.
24: */
25: protected String label;
26:
27: public SchemaTblNode(String name, String label) {
28: this .name = name;
29: this .label = label;
30: }
31:
32: /**
33: * Return the label.
34: */
35: public String getLabel() {
36: return label;
37: }
38:
39: public String toString() {
40: return "SchemaTblNode instance: (" + Header.VERSION + ")\n"
41: + "\tname = [" + name + "]\n" + "\tlabel = [" + label
42: + "]\n";
43: }
44: }
|