org.sql.generation.implementation.grammar.definition.table
Class ColumnDefinitionImpl
java.lang.Object
org.atp.spi.TypeableImpl<TableElement,ColumnDefinition>
org.sql.generation.implementation.grammar.definition.table.ColumnDefinitionImpl
- All Implemented Interfaces:
- org.atp.api.Typeable<TableElement>, ColumnDefinition, TableElement
public class ColumnDefinitionImpl
- extends org.atp.spi.TypeableImpl<TableElement,ColumnDefinition>
- implements ColumnDefinition
- Author:
- Stanislav Muhametsin
| Methods inherited from class org.atp.spi.TypeableImpl |
bothNullOrEquals, equals, getImplementedType |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.atp.api.Typeable |
getImplementedType |
ColumnDefinitionImpl
public ColumnDefinitionImpl(java.lang.String name,
SQLDataType dataType,
java.lang.String defaultStr,
java.lang.Boolean mayBeNull)
ColumnDefinitionImpl
protected ColumnDefinitionImpl(java.lang.Class<? extends ColumnDefinition> realImplementingType,
java.lang.String name,
SQLDataType dataType,
java.lang.String defaultStr,
java.lang.Boolean mayBeNull)
doesEqual
protected boolean doesEqual(ColumnDefinition another)
- Specified by:
doesEqual in class org.atp.spi.TypeableImpl<TableElement,ColumnDefinition>
getColumnName
public java.lang.String getColumnName()
- Specified by:
getColumnName in interface ColumnDefinition
getDataType
public SQLDataType getDataType()
- Specified by:
getDataType in interface ColumnDefinition
getDefault
public java.lang.String getDefault()
- Specified by:
getDefault in interface ColumnDefinition
mayBeNull
public java.lang.Boolean mayBeNull()
- Specified by:
mayBeNull in interface ColumnDefinition
Copyright © 2010. All Rights Reserved.