Class OdaResultSetColumnHandle
java.lang.Object
org.eclipse.birt.report.model.api.ElementDetailHandle
org.eclipse.birt.report.model.api.ValueHandle
org.eclipse.birt.report.model.api.StructureHandle
org.eclipse.birt.report.model.api.ResultSetColumnHandle
org.eclipse.birt.report.model.api.OdaResultSetColumnHandle
Represents the handle of one column in the oda result set. The result set
column defines the data in which column is in the result set.
- Native name
- the oda defined result set name.
- Native data type
- the oda defined type of the result set column.
-
Field Summary
Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle
structContext
Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
elementHandle
-
Constructor Summary
ConstructorsConstructorDescriptionOdaResultSetColumnHandle
(SimpleValueHandle valueHandle, int index) Constructs the handle of oda result set column. -
Method Summary
Modifier and TypeMethodDescriptionReturns the native data type.Returns the native name of this result set column.void
setNativeDataType
(Integer dataType) Sets the result set column native data type.void
setNativeName
(String nativeName) Sets the native name for this result set column.Methods inherited from class org.eclipse.birt.report.model.api.ResultSetColumnHandle
getColumnName, getDataType, getPosition, setColumnName, setDataType, setPosition
Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, isLocal, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently
Methods inherited from class org.eclipse.birt.report.model.api.ValueHandle
getReference
Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle
getDesign, getElement, getElementHandle, getModule
-
Constructor Details
-
OdaResultSetColumnHandle
Constructs the handle of oda result set column.- Parameters:
valueHandle
- the value handle for oda result set column list of one propertyindex
- the position of this oda result set column in the list
-
-
Method Details
-
getNativeDataType
Returns the native data type.- Overrides:
getNativeDataType
in classResultSetColumnHandle
- Returns:
- the result set column native data type.
-
setNativeDataType
Sets the result set column native data type.- Overrides:
setNativeDataType
in classResultSetColumnHandle
- Parameters:
dataType
- the native data type to set.
-
getNativeName
Returns the native name of this result set column.- Returns:
- the native name
-
setNativeName
Sets the native name for this result set column.- Parameters:
nativeName
- native name- Throws:
SemanticException
-