Package com.mchange.v1.db.sql.schemarep
Class ColumnRepImpl
- java.lang.Object
-
- com.mchange.v1.db.sql.schemarep.ColumnRepImpl
-
-
Constructor Summary
Constructors Constructor Description ColumnRepImpl(java.lang.String colName, int col_type)
ColumnRepImpl(java.lang.String colName, int col_type, int[] colSize)
ColumnRepImpl(java.lang.String colName, int col_type, int[] colSize, boolean accepts_nulls, java.lang.Object defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
acceptsNulls()
boolean
equals(java.lang.Object o)
java.lang.String
getColumnName()
int[]
getColumnSize()
int
getColumnType()
java.lang.Object
getDefaultValue()
int
hashCode()
-
-
-
Constructor Detail
-
ColumnRepImpl
public ColumnRepImpl(java.lang.String colName, int col_type)
-
ColumnRepImpl
public ColumnRepImpl(java.lang.String colName, int col_type, int[] colSize)
-
ColumnRepImpl
public ColumnRepImpl(java.lang.String colName, int col_type, int[] colSize, boolean accepts_nulls, java.lang.Object defaultValue)
-
-
Method Detail
-
getColumnName
public java.lang.String getColumnName()
- Specified by:
getColumnName
in interfaceColumnRep
-
getColumnType
public int getColumnType()
- Specified by:
getColumnType
in interfaceColumnRep
-
getColumnSize
public int[] getColumnSize()
- Specified by:
getColumnSize
in interfaceColumnRep
-
acceptsNulls
public boolean acceptsNulls()
- Specified by:
acceptsNulls
in interfaceColumnRep
-
getDefaultValue
public java.lang.Object getDefaultValue()
- Specified by:
getDefaultValue
in interfaceColumnRep
- Returns:
- null for no default
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-