|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.DesignElementHandle
org.eclipse.birt.report.model.api.ReportElementHandle
org.eclipse.birt.report.model.api.DataSetHandle
org.eclipse.birt.report.model.api.JointDataSetHandle
public class JointDataSetHandle
Provides API to operate a joint data set.
JointDataSet
Field Summary |
---|
Fields inherited from class org.eclipse.birt.report.model.api.ReportElementHandle |
---|
element |
Fields inherited from class org.eclipse.birt.report.model.api.DesignElementHandle |
---|
module |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.IJointDataSetModel |
---|
DATA_SETS_PROP, JOIN_CONDITONS_PROP |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.IDataSetModel |
---|
CACHED_METADATA_PROP, COLUMN_HINTS_PROP, COMPUTED_COLUMNS_PROP, FILTER_PROP, NEEDS_CACHE_PROP, PARAMETERS_PROP, RESULT_SET_HINTS_PROP, RESULT_SET_PROP, ROW_FETCH_LIMIT_PROP |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.ISimpleDataSetModel |
---|
AFTER_CLOSE_METHOD, AFTER_OPEN_METHOD, BEFORE_CLOSE_METHOD, BEFORE_OPEN_METHOD, CACHED_ROW_COUNT_PROP, DATA_SET_ROW_LIMIT, DATA_SOURCE_PROP, ON_FETCH_METHOD, PARAM_BINDINGS_PROP |
Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.IDesignElementModel |
---|
COMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP |
Constructor Summary | |
---|---|
JointDataSetHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.elements.JointDataSet element)
Constructs a handle of the joint data set with the given design and a joint data set. |
Method Summary | |
---|---|
void |
addDataSet(java.lang.String dataSetName)
Adds a data set into this joint data set by name. |
java.util.Iterator |
dataSetsIterator()
Gets data sets in this joint data set. |
java.util.List |
getDataSetNames()
Gets the names of the data sets in this joint data set. |
java.util.Iterator |
joinConditionsIterator()
Returns the iterator of join conditions. |
java.util.Iterator |
paramBindingsIterator()
Returns an iterator over the list of parameter bindings. |
void |
removeDataSet(java.lang.String dataSetName)
Removes a data set from this joint data set by name. |
void |
setProperty(java.lang.String propName,
java.lang.Object value)
Sets the value of a property from a generic object. |
Methods inherited from class org.eclipse.birt.report.model.api.DataSetHandle |
---|
addFilter, columnHintsIterator, computedColumnsIterator, filtersIterator, getAfterClose, getAfterOpen, getBeforeClose, getBeforeOpen, getCachedMetaDataHandle, getCachedRowCount, getDataSetRowLimit, getDataSource, getDataSourceName, getOnFetch, getPropertyHandle, getRowFetchLimit, needsCache, parametersIterator, removeFilter, resultSetHintsIterator, resultSetIterator, setAfterClose, setAfterOpen, setBeforeClose, setBeforeOpen, setCachedMetaData, setCachedRowCount, setDataSetRowLimit, setDataSource, setNeedsCache, setOnFetch, setRowFetchLimit |
Methods inherited from class org.eclipse.birt.report.model.api.ReportElementHandle |
---|
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JointDataSetHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.elements.JointDataSet element)
module
- the moduleelement
- the model representation of the elementMethod Detail |
---|
public java.util.List getDataSetNames()
public java.util.Iterator dataSetsIterator()
public void addDataSet(java.lang.String dataSetName) throws SemanticException
dataSetName
- the name of the data set to be added in.
SemanticException
- if the the value of the item is incorrect.public void removeDataSet(java.lang.String dataSetName) throws SemanticException
dataSetName
- the name of the data set to be removed.
SemanticException
- if the the value of the item is incorrect.public java.util.Iterator joinConditionsIterator()
JoinConditionHandle
that deal with a
JoinCondition
.
public java.util.Iterator paramBindingsIterator()
DataSetHandle
ParamBindingHandle
that represents
parameter binding object.
paramBindingsIterator
in class DataSetHandle
ParamBinding
public void setProperty(java.lang.String propName, java.lang.Object value) throws SemanticException
DesignElementHandle
setProperty
in class DesignElementHandle
propName
- the property namevalue
- the value to set
SemanticException
- if the property is undefined on the element or the value is
invalid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |