SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

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.

Author:
Abe White, Stephen Kim

Method Summary
 Index addIndex(String name)
           
 Index addIndex(String name, String type)
           
 void addPrimaryKey()
           
 int compareTo(Object other)
           
 String getFullName()
           
 Index getIndex()
           
 int getLength()
           
 String getName()
           
 Table getTable()
           
 int getType()
           
 boolean isIndexed()
           
 boolean isPrimaryKey()
           
 boolean removeIndex()
           
 boolean removePrimaryKey()
           
 void setLength(int length)
           
 void setType(int sqlType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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

SolarMetric Kodo JDO Enterprise Edition 2.3.1 generated on August 20 2002

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.