public class ColumnRef extends Object implements FieldMapping
| Constructor and Description |
|---|
ColumnRef(org.netbeans.modules.dbschema.ColumnElement columnElement,
Object value) |
ColumnRef(org.netbeans.modules.dbschema.ColumnElement columnElement,
QueryTable table) |
| Modifier and Type | Method and Description |
|---|---|
org.netbeans.modules.dbschema.ColumnElement |
getColumnElement()
Return the actual ColumnElement associated with this column.
|
int |
getColumnLength()
This method return the length of the column and -1 if unknown.
|
String |
getColumnName()
This method return the name of the column.
|
int |
getColumnType()
This method return int corresponding to java.sql.Types.
|
int |
getIndex()
Return the position of this column in the SQL statement.
|
String |
getName()
Return the name of this column.
|
QueryTable |
getQueryTable()
Return the QueryTable associated with this column.
|
Object |
getValue()
Return the input value for this column.
|
void |
setIndex(int value)
Set the position of this column in the SQL statement.
|
public ColumnRef(org.netbeans.modules.dbschema.ColumnElement columnElement,
QueryTable table)
public ColumnRef(org.netbeans.modules.dbschema.ColumnElement columnElement,
Object value)
public org.netbeans.modules.dbschema.ColumnElement getColumnElement()
public int getIndex()
public void setIndex(int value)
value - - the new positionpublic Object getValue()
public QueryTable getQueryTable()
public String getName()
public int getColumnType()
getColumnType in interface FieldMappingpublic String getColumnName()
getColumnName in interface FieldMappingpublic int getColumnLength()
getColumnLength in interface FieldMappingCopyright © 2019. All rights reserved.