public class

IntrospectedColumn

extends Object
java.lang.Object
   ↳ org.mybatis.generator.api.IntrospectedColumn

Class Overview

This class holds information about an introspected column. The class has utility methods useful for generating iBATIS objects.

Summary

Fields
protected String actualColumnName
protected Context context
protected String defaultValue
protected FullyQualifiedJavaType fullyQualifiedJavaType
protected boolean identity
protected IntrospectedTable introspectedTable
protected boolean isColumnNameDelimited
protected boolean isSequenceColumn
protected String javaProperty
protected int jdbcType
protected String jdbcTypeName
protected int length
protected boolean nullable
protected Properties properties
protected String remarks
protected int scale
protected String tableAlias
protected String typeHandler
Public Constructors
IntrospectedColumn()
Constructs a Column definition.
Public Methods
String getActualColumnName()
Context getContext()
String getDefaultValue()
FullyQualifiedJavaType getFullyQualifiedJavaType()
IntrospectedTable getIntrospectedTable()
String getJavaProperty()
String getJavaProperty(String prefix)
int getJdbcType()
String getJdbcTypeName()
int getLength()
Properties getProperties()
String getRemarks()
int getScale()
String getTableAlias()
String getTypeHandler()
boolean isBLOBColumn()
boolean isColumnNameDelimited()
boolean isIdentity()
boolean isJDBCDateColumn()
boolean isJDBCTimeColumn()
boolean isJdbcCharacterColumn()
boolean isNullable()
boolean isSequenceColumn()
boolean isStringColumn()
void setActualColumnName(String actualColumnName)
void setColumnNameDelimited(boolean isColumnNameDelimited)
void setContext(Context context)
void setDefaultValue(String defaultValue)
void setFullyQualifiedJavaType(FullyQualifiedJavaType fullyQualifiedJavaType)
void setIdentity(boolean identity)
void setIntrospectedTable(IntrospectedTable introspectedTable)
void setJavaProperty(String javaProperty)
void setJdbcType(int jdbcType)
void setJdbcTypeName(String jdbcTypeName)
void setLength(int length)
void setNullable(boolean nullable)
void setProperties(Properties properties)
void setRemarks(String remarks)
void setScale(int scale)
void setSequenceColumn(boolean isSequenceColumn)
void setTableAlias(String tableAlias)
void setTypeHandler(String typeHandler)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String actualColumnName

protected Context context

protected String defaultValue

protected FullyQualifiedJavaType fullyQualifiedJavaType

protected boolean identity

protected IntrospectedTable introspectedTable

protected boolean isColumnNameDelimited

protected boolean isSequenceColumn

protected String javaProperty

protected int jdbcType

protected String jdbcTypeName

protected int length

protected boolean nullable

protected Properties properties

protected String remarks

protected int scale

protected String tableAlias

protected String typeHandler

Public Constructors

public IntrospectedColumn ()

Constructs a Column definition. This object holds all the information about a column that is required to generate Java objects and SQL maps;

Public Methods

public String getActualColumnName ()

public Context getContext ()

public String getDefaultValue ()

public FullyQualifiedJavaType getFullyQualifiedJavaType ()

public IntrospectedTable getIntrospectedTable ()

public String getJavaProperty ()

public String getJavaProperty (String prefix)

public int getJdbcType ()

public String getJdbcTypeName ()

public int getLength ()

public Properties getProperties ()

public String getRemarks ()

public int getScale ()

public String getTableAlias ()

public String getTypeHandler ()

public boolean isBLOBColumn ()

public boolean isColumnNameDelimited ()

public boolean isIdentity ()

Returns
  • Returns the identity.

public boolean isJDBCDateColumn ()

public boolean isJDBCTimeColumn ()

public boolean isJdbcCharacterColumn ()

public boolean isNullable ()

public boolean isSequenceColumn ()

public boolean isStringColumn ()

public void setActualColumnName (String actualColumnName)

public void setColumnNameDelimited (boolean isColumnNameDelimited)

public void setContext (Context context)

public void setDefaultValue (String defaultValue)

public void setFullyQualifiedJavaType (FullyQualifiedJavaType fullyQualifiedJavaType)

public void setIdentity (boolean identity)

Parameters
identity The identity to set.

public void setIntrospectedTable (IntrospectedTable introspectedTable)

public void setJavaProperty (String javaProperty)

public void setJdbcType (int jdbcType)

public void setJdbcTypeName (String jdbcTypeName)

public void setLength (int length)

public void setNullable (boolean nullable)

public void setProperties (Properties properties)

public void setRemarks (String remarks)

public void setScale (int scale)

public void setSequenceColumn (boolean isSequenceColumn)

public void setTableAlias (String tableAlias)

public void setTypeHandler (String typeHandler)

public String toString ()