|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ibatis.abator.internal.db.IntrospectedTableImpl
public class IntrospectedTableImpl
Constructor Summary | |
---|---|
IntrospectedTableImpl(TableConfiguration tableConfiguration,
ColumnDefinitions columnDefinitions,
FullyQualifiedTable table)
|
Method Summary | |
---|---|
java.util.Iterator |
getAllColumns()
Returns all columns in the table (for use by the select by primary key and select by example with BLOBs methods) |
java.util.Iterator |
getBaseColumns()
|
java.util.Iterator |
getBLOBColumns()
|
ColumnDefinition |
getColumn(java.lang.String columnName)
|
ColumnDefinitions |
getColumnDefinitions()
|
GeneratedKey |
getGeneratedKey()
|
int |
getNonBLOBColumnCount()
|
java.util.Iterator |
getNonBLOBColumns()
Returns all columns axcept BLOBs (for use by the select by example without BLOBs method) |
java.util.Iterator |
getNonPrimaryKeyColumns()
|
java.util.Iterator |
getPrimaryKeyColumns()
Returns the columns in the primary key. |
AbatorRules |
getRules()
|
java.lang.String |
getSelectByExampleQueryId()
|
java.lang.String |
getSelectByPrimaryKeyQueryId()
|
FullyQualifiedTable |
getTable()
|
java.lang.String |
getTableConfigurationProperty(java.lang.String property)
|
boolean |
hasBLOBColumns()
|
boolean |
hasJDBCDateColumns()
Returns true if any of the columns in the table are JDBC Dates (as opposed to timestamps). |
boolean |
hasJDBCTimeColumns()
Returns true if any of the columns in the table are JDBC Times (as opposed to timestamps). |
boolean |
hasPrimaryKeyColumns()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntrospectedTableImpl(TableConfiguration tableConfiguration, ColumnDefinitions columnDefinitions, FullyQualifiedTable table)
Method Detail |
---|
public FullyQualifiedTable getTable()
getTable
in interface IntrospectedTable
public java.lang.String getSelectByExampleQueryId()
getSelectByExampleQueryId
in interface IntrospectedTable
public java.lang.String getSelectByPrimaryKeyQueryId()
getSelectByPrimaryKeyQueryId
in interface IntrospectedTable
public GeneratedKey getGeneratedKey()
getGeneratedKey
in interface IntrospectedTable
public ColumnDefinition getColumn(java.lang.String columnName)
getColumn
in interface IntrospectedTable
public boolean hasJDBCDateColumns()
IntrospectedTable
hasJDBCDateColumns
in interface IntrospectedTable
public boolean hasJDBCTimeColumns()
IntrospectedTable
hasJDBCTimeColumns
in interface IntrospectedTable
public ColumnDefinitions getColumnDefinitions()
public AbatorRules getRules()
getRules
in interface IntrospectedTable
public java.util.Iterator getAllColumns()
IntrospectedTable
getAllColumns
in interface IntrospectedTable
public java.util.Iterator getNonBLOBColumns()
IntrospectedTable
getNonBLOBColumns
in interface IntrospectedTable
public int getNonBLOBColumnCount()
getNonBLOBColumnCount
in interface IntrospectedTable
public java.util.Iterator getPrimaryKeyColumns()
IntrospectedTable
getPrimaryKeyColumns
in interface IntrospectedTable
public java.util.Iterator getBaseColumns()
getBaseColumns
in interface IntrospectedTable
public boolean hasPrimaryKeyColumns()
hasPrimaryKeyColumns
in interface IntrospectedTable
public java.util.Iterator getBLOBColumns()
getBLOBColumns
in interface IntrospectedTable
public boolean hasBLOBColumns()
hasBLOBColumns
in interface IntrospectedTable
public java.util.Iterator getNonPrimaryKeyColumns()
getNonPrimaryKeyColumns
in interface IntrospectedTable
public java.lang.String getTableConfigurationProperty(java.lang.String property)
getTableConfigurationProperty
in interface IntrospectedTable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |