org.jboss.test.cmp2.dbschema.util
Class Column
java.lang.Object
org.jboss.test.cmp2.dbschema.util.Column
- public final class Column
- extends java.lang.Object
Constructor Summary |
Column(java.sql.ResultSet rs)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Column
public Column(java.sql.ResultSet rs)
throws java.sql.SQLException
getTableName
public java.lang.String getTableName()
getName
public java.lang.String getName()
getDataType
public short getDataType()
getTypeName
public java.lang.String getTypeName()
getColumnSize
public int getColumnSize()
isNotNullable
public boolean isNotNullable()
getColumnDef
public java.lang.String getColumnDef()
assertName
public void assertName(java.lang.String name)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertDataType
public void assertDataType(int dataType)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertNotNull
public void assertNotNull(boolean notNullable)
throws java.lang.Exception
- Throws:
java.lang.Exception
assertTypeNotNull
public void assertTypeNotNull(int dataType,
boolean notNull)
throws java.lang.Exception
- Throws:
java.lang.Exception
toString
public java.lang.String toString()