public class ScriptDataSetHandle extends DataSetHandle implements org.eclipse.birt.report.model.elements.interfaces.IScriptDataSetModel
ScriptDataSet
element
module
CLOSE_METHOD, DESCRIBE_METHOD, FETCH_METHOD, OPEN_METHOD
ACL_EXPRESSION_PROP, CACHED_METADATA_PROP, COLUMN_HINTS_PROP, COMPUTED_COLUMNS_PROP, FILTER_PROP, IS_VISIBLE_PROP, LOCALE_PROP, NEEDS_CACHE_PROP, NULLS_ORDERING_PROP, PARAMETERS_PROP, RESULT_SET_HINTS_PROP, RESULT_SET_PROP, ROW_ACL_EXPRESSION_PROP, ROW_FETCH_LIMIT_PROP, SORT_HINTS_PROP
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
COMMENTS_PROP, CUSTOM_XML_PROP, DISPLAY_NAME_ID_PROP, DISPLAY_NAME_PROP, EVENT_HANDLER_CLASS_PROP, EXTENDS_PROP, FULL_LABEL, ID_SUFFIX, NAME_PROP, NEW_HANDLER_ON_EACH_EVENT_PROP, NO_SLOT, PROPERTY_MASKS_PROP, REF_TEMPLATE_PARAMETER_PROP, SHORT_LABEL, USER_LABEL, USER_PROPERTIES_PROP, VIEW_ACTION_PROP
Constructor and Description |
---|
ScriptDataSetHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a handle for script data set.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClose()
Returns the script for closing data set.
|
java.lang.String |
getDescribe()
Returns the script for describing the result set dynamically.
|
java.lang.String |
getFetch()
Returns the script for providing the data for the next row from the
result set.
|
java.lang.String |
getOpen()
Returns the script for opening data set.
|
PropertyHandle |
getPropertyHandle(java.lang.String propName)
Returns a property handle for a top-level property.
|
java.util.Iterator |
resultSetIterator()
Deprecated.
by {#resultSetHintsIterator()}
|
void |
setClose(java.lang.String value)
Sets the script for closing data set.
|
void |
setDescribe(java.lang.String value)
Sets the script for describing the result set dynamically.
|
void |
setFetch(java.lang.String value)
Sets the script for providing the data for the next row from the result
set.
|
void |
setOpen(java.lang.String value)
Sets the script for opening data set.
|
addFilter, columnHintsIterator, computedColumnsIterator, filtersIterator, getACLExpression, getAfterClose, getAfterOpen, getBeforeClose, getBeforeOpen, getCachedMetaDataHandle, getCachedRowCount, getDataSetRowLimit, getDataSource, getDataSourceName, getLocale, getNullsOrdering, getOnFetch, getRowACLExpression, getRowFetchLimit, isVisible, needsCache, paramBindingsIterator, parametersIterator, removeFilter, resultSetHintsIterator, setAfterClose, setAfterOpen, setBeforeClose, setBeforeOpen, setCachedMetaData, setCachedRowCount, setDataSetRowLimit, setDataSource, setIsVisible, setLocale, setNeedsCache, setNullsOrdering, setOnFetch, setRowFetchLimit, sortHintsIterator
getComments, getCustomXml, getDisplayName, getDisplayNameKey, getElement, getPropertyMask, isValidLayoutForCompoundElement, isValidReferenceForCompoundElement, propertyMaskIterator, setComments, setCustomXml, setDisplayName, setDisplayNameKey, setPropertyMask
add, add, addElement, addElement, addListener, addUserPropertyDefn, cachePropertyHandles, canContain, canContain, canContain, canContain, canDrop, canEdit, canTransformToTemplate, clearAllProperties, clearContents, clearProperty, clientsIterator, copy, copyPropertyTo, createTemplateElement, derivedIterator, doSort, drop, drop, drop, dropAndClear, dropAndClear, dropAndClear, dropUserPropertyDefn, findContentSlot, getBooleanProperty, getChoices, getColorProperty, getContainer, getContainerPropertyHandle, getContainerSlotHandle, getContent, getContentCount, getContents, getDefn, getDesign, getDesignHandle, getDimensionProperty, getDisplayLabel, getDisplayLabel, getDisplayProperty, getEffectiveModule, getElementFactory, getElementProperty, getEventHandlerClass, getExpressionProperty, getExtends, getExternalizedValue, getExternalizedValue, getExternalizedValue, getFactoryElementHandle, getFactoryPropertyHandle, getFloatProperty, getFontProperty, getFullName, getHostViewHandle, getID, getIndex, getIntProperty, getListProperty, getListProperty, getMethods, getModule, getModuleHandle, getName, getNumberProperty, getPrivateStyle, getProperty, getPropertyBinding, getPropertyBindingExpression, getPropertyBindings, getPropertyDefn, getPropertyIterator, getQualifiedName, getRoot, getSemanticErrors, getSlot, getStringProperty, getStyle, getUserProperties, getUserPropertyDefnHandle, getXPath, hasLocalProperties, hasSemanticError, initializeSlotHandles, isDirectionRTL, isInTemplateParameter, isTemplateParameterValue, isValid, localize, move, move, moveTo, moveTo, moveTo, moveTo, newHandlerOnEachEvent, paste, paste, paste, paste, removeListener, revertToReportItem, revertToTemplate, semanticCheck, setBooleanProperty, setEncryption, setEventHandlerClass, setExpressionProperty, setExtends, setExtendsElement, setExtendsName, setFloatProperty, setIntProperty, setName, setNewHandlerOnEachEvent, setNumberProperty, setProperties, setProperty, setPropertyBinding, setPropertyBinding, setStringProperty, setStyle, setStyleElement, setStyleName, setValid, shift, showError, slotsIterator
public ScriptDataSetHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the script data set elementpublic java.lang.String getOpen()
public void setOpen(java.lang.String value) throws SemanticException
value
- the script to setSemanticException
- if the property is locked.public java.lang.String getDescribe()
public void setDescribe(java.lang.String value) throws SemanticException
value
- the script to setSemanticException
- if the property is locked.public java.lang.String getFetch()
null
return value indicates the end of the result set.)public void setFetch(java.lang.String value) throws SemanticException
value
- the script to setSemanticException
- if the property is locked.getFetch()
public java.lang.String getClose()
public void setClose(java.lang.String value) throws SemanticException
value
- the script to setSemanticException
- if the property is locked.public java.util.Iterator resultSetIterator()
ResultSetColumnHandle
that represents
hints of result set column object.resultSetIterator
in class DataSetHandle
DataSetHandle.resultSetIterator()
public PropertyHandle getPropertyHandle(java.lang.String propName)
DesignElementHandle
getPropertyHandle
in class DataSetHandle
propName
- the name of the property to getnull
if the no property
exists with the given name.PropertyHandle
Copyright © 2008 Actuate Corp. All rights reserved.