com.solarmetric.kodo.impl.jdbc.schema
Class Column
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.schema.Column
- All Implemented Interfaces:
- Comparable
- public class Column
- extends Object
- implements Comparable
Represents a database column.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getName
public String getName()
getFullName
public String getFullName()
setType
public void setType(int sqlType)
getType
public int getType()
setLength
public void setLength(int length)
getLength
public int getLength()
isIndexed
public boolean isIndexed()
addIndex
public Index addIndex(String name)
addIndex
public Index addIndex(String name,
String type)
getIndex
public Index getIndex()
removeIndex
public boolean removeIndex()
isPrimaryKey
public boolean isPrimaryKey()
addPrimaryKey
public void addPrimaryKey()
removePrimaryKey
public boolean removePrimaryKey()
getTable
public Table getTable()
compareTo
public int compareTo(Object other)
- Specified by:
compareTo in interface Comparable
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.