|
|||||||||||
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.DataSourceParamBindingHandle
Represents the handle of datasource parameter binding. The parameter binding maps a data source and its properties to expressions. Each parameter binding has the following properties:
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 | |
DataSourceParamBindingHandle(SimpleValueHandle valueHandle,
int index)
Constructors a data source parameter handle |
Method Summary | |
void |
addParamBinding(ParamBinding paramBinding)
Add a new parameter binding to the action. |
java.lang.String |
getDataSourceName()
Get the data source name member. |
MemberHandle |
getParamBindings()
Get a handle to deal with the parameter binding list member. |
java.util.Iterator |
paramBindingsIterator()
Gets the parameter binding list of a data source. |
void |
setDataSourceName(java.lang.String dsName)
Set the data source name member. |
Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle |
drop, getDefn, getMember, getProperty, getPropertyDefn, getReference, getStringProperty, getStructure, iterator, 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 DataSourceParamBindingHandle(SimpleValueHandle valueHandle, int index)
valueHandle
- the value handle for parameter binding list of one propertyindex
- the position of this parameter binding in the listMethod Detail |
public java.lang.String getDataSourceName()
public void setDataSourceName(java.lang.String dsName) throws SemanticException
dsName
- the data source name
SemanticException
public java.util.Iterator paramBindingsIterator()
ParameBindingHandle
Note that this is a parameter binding, not a parameter definition. The
report makes no attempt to check that the parameters listed here are
accurate in name or type for the target report. Also, it is legal to bind
the same parameter multiple times; the meaning depends on the semantics
of the target report.
public MemberHandle getParamBindings()
public void addParamBinding(ParamBinding paramBinding) throws SemanticException
paramBinding
- a new parameter binding to be added.
SemanticException
- if the parameter binding is not valid
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |