1 /*
2 * Created on 2003-5-21 22:43:56
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;
8 /***
9 * Column model interface
10 *
11 * @author <a href="mailto:joeblack.guo@vtradex.com">joel guo</a>
12 * @since 2003-6-4 15:34:48
13 */
14 public interface Column {
15 /*** Empty Column object array*/
16 Column[] EMPTY_ARRAY = new Column[0];
17 /*** Method getDBType()
18 * @return DBType object
19 */
20 DBType getDBType();
21 /***@return Default value of column */
22 String getDefaultValue();
23 /***@return Description of this Column */
24 String getDescription();
25 /***@return Map to java property name*/
26 String getJavaPropertyName();
27 /***@return Column name in database */
28 String getName();
29 /***@return Belong to Table object */
30 Table getTable();
31 /***@return Column type*/
32 //Type getType();
33 /***@return Is this column has a default value */
34 boolean hasDefaultValue();
35 /***@return Is this column primary key */
36 boolean isPrimaryKey();
37 /***@return Is value of this column required */
38 boolean isRequired();
39 }
This page was automatically generated by Maven