java.lang.Cloneablepublic final class ColumnInfo
extends java.lang.Object
implements java.lang.Cloneable
| Modifier | Constructor | Description |
|---|---|---|
protected |
ColumnInfo(java.lang.String name) |
Constructor creating new column with only name set.
|
protected |
ColumnInfo(java.lang.String name,
int index,
int type,
TypeConvertor convertFrom,
boolean store,
boolean dirty) |
Constructor with all given values.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getIndex() |
Method returning the field index of this column.
|
java.lang.String |
getName() |
Method returning name of this column.
|
int |
getType() |
Method returning SQL type currently set.
|
boolean |
isDirty() |
Method returning dirty flag.
|
boolean |
isStore() |
Method returning store flag.
|
protected java.lang.Object |
toSQL(java.lang.Object object) |
Method to translate java data types to sql data types.
|
protected ColumnInfo(java.lang.String name,
int index,
int type,
TypeConvertor convertFrom,
boolean store,
boolean dirty)
name - Name of this column.index - Index of the field this column belongs to.type - SQL type of this column.convertFrom - Converter to convert value of this column.store - Flag telling if column is persistent or not.dirty - Flag telling if this column was changed or not.protected ColumnInfo(java.lang.String name)
name - Name to be set.public java.lang.String getName()
public int getIndex()
public int getType()
public boolean isStore()
public boolean isDirty()
protected java.lang.Object toSQL(java.lang.Object object)
object - Object to be translated to sql data type.Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com