com.cyclops.dbdigger.schema
Interface Column
- All Known Implementing Classes:
- DefaultColumn
- public interface Column
Column model interface
- Since:
- 2003-6-4 15:34:48
- Author:
- joel guo
EMPTY_ARRAY
public static final Column[] EMPTY_ARRAY
- Empty Column object array
getDBType
public DBType getDBType()
- Method getDBType()
- Returns:
- DBType object
getDefaultValue
public String getDefaultValue()
- Returns:
- Default value of column
getDescription
public String getDescription()
- Returns:
- Description of this Column
getJavaPropertyName
public String getJavaPropertyName()
- Returns:
- Map to java property name
getName
public String getName()
- Returns:
- Column name in database
getTable
public Table getTable()
- Returns:
- Belong to Table object
hasDefaultValue
public boolean hasDefaultValue()
- Returns:
- Is this column has a default value
isPrimaryKey
public boolean isPrimaryKey()
- Returns:
- Is this column primary key
isRequired
public boolean isRequired()
- Returns:
- Is value of this column required
Copyright © 2003 Cyclops Group. All Rights Reserved.