1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package com.finalist.tools.database;
25
26 import java.beans.*;
27
28 /***
29 *
30 * @author hillebrand
31 */
32 public class ColumnBean extends Object implements java.io.Serializable {
33
34 /*** Holds value of property name. */
35 private String name;
36
37 /*** Holds value of property sqlType. */
38 private String sqlType;
39
40 /*** Holds value of property scale. */
41 private int scale;
42
43 /*** Holds value of property precision. */
44 private int precision;
45
46 /*** Holds value of property javaType. */
47 private String javaType;
48
49
50 /*** Creates new ColumnBean */
51 public ColumnBean() {
52 }
53
54
55 /*** Creates new ColumnBean */
56 public ColumnBean(String name, String javaType) {
57 this.name = name;
58 this.javaType = javaType;
59 }
60
61
62 /*** Getter for property nam.
63 * @return Value of property nam.
64 *
65 */
66 public String getName() {
67 return this.name;
68 }
69
70
71 /*** Setter for property nam.
72 * @param nam New value of property nam.
73 *
74 */
75 public void setName(String name) {
76 this.name = name;
77 }
78
79
80 /*** Getter for property type.
81 * @return Value of property type.
82 *
83 */
84 public String getSqlType() {
85 return this.sqlType;
86 }
87
88
89 /*** Setter for property type.
90 * @param type New value of property type.
91 *
92 */
93 public void setSqlType(String sqlType) {
94 this.sqlType = sqlType;
95 }
96
97
98 /*** Getter for property scale.
99 * @return Value of property scale.
100 *
101 */
102 public int getScale() {
103 return this.scale;
104 }
105
106
107 /*** Setter for property scale.
108 * @param scale New value of property scale.
109 *
110 */
111 public void setScale(int scale) {
112 this.scale = scale;
113 }
114
115
116 /*** Getter for property precision.
117 * @return Value of property precision.
118 *
119 */
120 public int getPrecision() {
121 return this.precision;
122 }
123
124
125 /*** Setter for property precision.
126 * @param precision New value of property precision.
127 *
128 */
129 public void setPrecision(int precision) {
130 this.precision = precision;
131 }
132
133
134 /*** Getter for property javaType.
135 * @return Value of property javaType.
136 *
137 */
138 public String getJavaType() {
139 return this.javaType;
140 }
141
142
143 /*** Setter for property javaType.
144 * @param javaType New value of property javaType.
145 *
146 */
147 public void setJavaType(String javaType) {
148 this.javaType = javaType;
149 }
150
151 }