1 /*
2 * Created on 2003-5-21 23:06:08
3 *
4 * To change the template for this generated file go to
5 * Window>Preferences>Java>Code Generation>Code and Comments
6 */
7 package com.cyclops.dbdigger.schema.torque;
8 import java.util.Properties;
9
10 import com.cyclops.dbdigger.schema.DefaultColumn;
11 import com.cyclops.dbdigger.schema.DBTypeFactory;
12 /***
13 *
14 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a>
15 * @since 2003-5-21 23:06:08
16 */
17 public class TorqueColumn extends DefaultColumn {
18 private Properties properties;
19 private DBTypeFactory typeFactory;
20 private String typeName;
21 /*** Method getProperties()
22 * @return all properties
23 */
24 public Properties getProperties() {
25 return properties;
26 }
27 /*** Override method getType() of super class
28 * @see com.cyclops.dbdigger.schema.Column#getType()
29 */
30 public String getType() {
31 return typeName;
32 }
33 /*** Method getTypeFactory()
34 * @return Type factory tool
35 */
36 public DBTypeFactory getTypeFactory() {
37 return typeFactory;
38 }
39 /*** Method getTypeName()
40 * @return Name of type
41 */
42 public String getTypeName() {
43 return typeName;
44 }
45 /*** Method setProperties()
46 * @param aproperties Column properties
47 */
48 public void setProperties(Properties aproperties) {
49 properties = aproperties;
50 }
51 /*** Method setType()
52 * @param atypeName Name of type
53 */
54 public void setType(String atypeName) {
55 setTypeName(atypeName);
56 }
57 /*** Method setTypeFactory()
58 * @param factory type factory object
59 */
60 public void setTypeFactory(DBTypeFactory factory) {
61 typeFactory = factory;
62 }
63 /*** Method setTypeName()
64 * @param string Name of type
65 */
66 public void setTypeName(String string) {
67 typeName = string;
68 }
69 }
This page was automatically generated by Maven