public class ResultSetColumnHandle extends StructureHandle
structContext
elementHandle
Constructor and Description |
---|
ResultSetColumnHandle(DesignElementHandle element,
org.eclipse.birt.report.model.core.StructureContext context) |
ResultSetColumnHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of result set column.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getColumnName()
Returns the column name.
|
java.lang.String |
getDataType()
Returns the data type of this column.
|
java.lang.Integer |
getNativeDataType()
Returns the native data type.
|
java.lang.Integer |
getPosition()
Returns the position that this column is in the result set.
|
void |
setColumnName(java.lang.String columnName)
Sets the column name.
|
void |
setDataType(java.lang.String dataType)
Sets the data type of this column.
|
void |
setNativeDataType(java.lang.Integer dataType)
Sets the result set column native data type.
|
void |
setPosition(java.lang.Integer position)
Sets the position that this column is in the result set.
|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently
getReference
getDesign, getElement, getElementHandle, getModule
public ResultSetColumnHandle(SimpleValueHandle valueHandle, int index)
valueHandle
- the value handle for result set column list of one propertyindex
- the position of this result set column in the listpublic ResultSetColumnHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.StructureContext context)
public java.lang.String getColumnName()
public void setColumnName(java.lang.String columnName) throws SemanticException
columnName
- the column name to setSemanticException
- value required exceptionpublic java.lang.String getDataType()
DesignChoiceConstants
,
and they are:
public void setDataType(java.lang.String dataType) throws SemanticException
DesignChoiceConstants
,
and they are:
dataType
- the data type to setSemanticException
- if the dataType is not in the choice list.public java.lang.Integer getPosition()
public void setPosition(java.lang.Integer position)
position
- the position to setpublic java.lang.Integer getNativeDataType()
public void setNativeDataType(java.lang.Integer dataType)
dataType
- the native data type to set.Copyright © 2008 Actuate Corp. All rights reserved.