com.mchange.v1.db.sql.schemarep
Class ColumnRepImpl

java.lang.Object
  extended by com.mchange.v1.db.sql.schemarep.ColumnRepImpl
All Implemented Interfaces:
ColumnRep

public class ColumnRepImpl
extends Object
implements ColumnRep


Constructor Summary
ColumnRepImpl(String colName, int col_type)
           
ColumnRepImpl(String colName, int col_type, int[] colSize)
           
ColumnRepImpl(String colName, int col_type, int[] colSize, boolean accepts_nulls, Object defaultValue)
           
 
Method Summary
 boolean acceptsNulls()
           
 boolean equals(Object o)
           
 String getColumnName()
           
 int[] getColumnSize()
           
 int getColumnType()
           
 Object getDefaultValue()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColumnRepImpl

public ColumnRepImpl(String colName,
                     int col_type)

ColumnRepImpl

public ColumnRepImpl(String colName,
                     int col_type,
                     int[] colSize)

ColumnRepImpl

public ColumnRepImpl(String colName,
                     int col_type,
                     int[] colSize,
                     boolean accepts_nulls,
                     Object defaultValue)
Method Detail

getColumnName

public String getColumnName()
Specified by:
getColumnName in interface ColumnRep

getColumnType

public int getColumnType()
Specified by:
getColumnType in interface ColumnRep

getColumnSize

public int[] getColumnSize()
Specified by:
getColumnSize in interface ColumnRep

acceptsNulls

public boolean acceptsNulls()
Specified by:
acceptsNulls in interface ColumnRep

getDefaultValue

public Object getDefaultValue()
Specified by:
getDefaultValue in interface ColumnRep
Returns:
null for no default

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object