|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class ResultSetColumnHandle
Represents the handle of one column in the result set. The result set column defines the data in which column is in the result set.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle |
|---|
structRef |
| Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
|---|
elementHandle |
| Constructor Summary | |
|---|---|
ResultSetColumnHandle(SimpleValueHandle valueHandle,
int index)
Constructs the handle of result set column. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle |
|---|
drop, getDefn, getExternalizedValue, getMember, getProperty, getPropertyDefn, getReference, getStringProperty, getStructure, isDesignTime, iterator, setDesignTime, setProperty, setPropertySilently |
| Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
|---|
getDesign, getElement, getElementHandle, getModule |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 list| Method Detail |
|---|
public java.lang.String getColumnName()
public void setColumnName(java.lang.String columnName)
throws SemanticException
columnName - the column name to set
SemanticException - 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 set
SemanticException - 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||