01: package com.salmonllc.xml;
02:
03: /////////////////////////
04: //$Archive: /JADE/SourceCode/com/salmonllc/xml/Column.java $
05: //$Author: Srufle $
06: //$Revision: 9 $
07: //$Modtime: 7/31/02 7:13p $
08: /////////////////////////
09:
10: /**
11: * This object contains a cell of a datastore. It is stored in a Vector of Columns in a Row Object.
12: * Creation date: (8/7/01 11:59:45 AM)
13: * @author: Administrator
14: */
15: public class Column {
16: private String fieldTableName = "";
17: private String fieldColumnName = "";
18: private String fieldValue = "";
19:
20: /**
21: * Column constructor comment.
22: */
23: public Column() {
24: super ();
25: }
26:
27: /**
28: * Column constructor comment.
29: */
30: public Column(String table, String column, String value) {
31: super ();
32: this .fieldTableName = table;
33: this .fieldColumnName = column;
34: this .fieldValue = value;
35: }
36:
37: /**
38: * Gets the Column Name
39: * Creation date: (8/7/01 12:00:24 PM)
40: * @return java.lang.String
41: */
42: public java.lang.String getColumnName() {
43: return fieldColumnName;
44: }
45:
46: /**
47: * Gets the table name used by the column
48: * Creation date: (8/7/01 12:00:24 PM)
49: * @return java.lang.String
50: */
51: public java.lang.String getTableName() {
52: return fieldTableName;
53: }
54:
55: /**
56: * Gets the value of the column
57: * Creation date: (8/7/01 12:00:24 PM)
58: * @return java.lang.String
59: */
60: public java.lang.String getValue() {
61: return fieldValue;
62: }
63:
64: /**
65: * Sets the column name
66: * Creation date: (8/7/01 12:00:24 PM)
67: * @param newColumnName java.lang.String
68: */
69: public void setColumnName(java.lang.String newColumnName) {
70: fieldColumnName = newColumnName;
71: }
72:
73: /**
74: * Sets the table name for the column
75: * Creation date: (8/7/01 12:00:24 PM)
76: * @param newTableName java.lang.String
77: */
78: public void setTableName(java.lang.String newTableName) {
79: fieldTableName = newTableName;
80: }
81:
82: /**
83: * Sets the value of a option
84: * Creation date: (8/7/01 12:00:24 PM)
85: * @param newValue java.lang.String
86: */
87: public void setValue(java.lang.String newValue) {
88: fieldValue = newValue;
89: }
90: }
|