public class OdaDataSetHandle extends DataSetHandle implements org.eclipse.birt.report.model.elements.interfaces.IOdaDataSetModel, org.eclipse.birt.report.model.elements.interfaces.IOdaExtendableElementModel
OdaDataSet
element
module
DESIGNER_STATE_PROP, DESIGNER_VALUES_PROP, PRIVATE_DRIVER_PROPERTIES_PROP, PUBLIC_DRIVER_PROPERTIES_PROP, QUERY_TEXT_PROP, RESULT_SET_NAME_PROP, RESULT_SET_NUMBER_PROP
EXTENSION_ID_PROP
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 |
---|
OdaDataSetHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a handle for extended data set report item.
|
Modifier and Type | Method and Description |
---|---|
IElementDefn |
getDefn()
Returns the element definition of the element this handle represents.
|
byte[] |
getDesigerStateContentAsBlob()
Returns the content of designer state as the byte array.
|
java.lang.String |
getDesigerStateContentAsString()
Returns the content of designer state as the string.
|
java.lang.String |
getDesigerStateVersion()
Returns the version of designer state.
|
OdaDesignerStateHandle |
getDesignerState()
Returns the oda designer state.
|
java.lang.String |
getDesignerValues()
Returns persistent ODA designer values stored in the data set.
|
java.lang.String |
getExtensionID()
Returns ID of the extension which extends this ODA data set.
|
java.lang.String |
getExtensionName()
Deprecated.
use
getExtensionID() |
java.util.List |
getExtensionPropertyDefinitionList()
Returns the list of extension property definition.
|
java.lang.String |
getPrivateDriverDesignState()
Deprecated.
|
java.lang.String |
getPrivateDriverProperty(java.lang.String name)
Returns a private driver property value with the given property name.
|
java.lang.String |
getQueryScript()
Deprecated.
to be removed.
|
java.lang.String |
getQueryText()
Returns the query text.
|
java.lang.String |
getResultSetName()
Returns the result set name.
|
int |
getResultSetNumber()
Gets the result set number.
|
java.lang.String |
getType()
Deprecated.
type has been replaced by extension ID
|
java.util.Iterator |
parametersIterator()
Returns an iterator over the list of oda dataset parameter definitions.
|
java.util.Iterator |
privateDriverPropertiesIterator()
Returns the iterator for the private driver property list.
|
void |
setDesigerStateContentAsBlob(byte[] content)
Returns the content of designer state as the byte.
|
void |
setDesigerStateContentAsString(java.lang.String content)
Returns the content of designer state as the string.
|
void |
setDesigerStateVersion(java.lang.String version)
Returns the version of designer state.
|
OdaDesignerStateHandle |
setDesignerState(OdaDesignerState designerState)
Sets the designer state for a oda data set.
|
void |
setDesignerValues(java.lang.String values)
Stores persistent ODA designer values in the data set.
|
void |
setPrivateDriverDesignState(java.lang.String state)
Deprecated.
|
void |
setPrivateDriverProperty(java.lang.String name,
java.lang.String value)
Sets a private driver property value with the given name and value.
|
void |
setQueryScript(java.lang.String script)
Deprecated.
to be removed.
|
void |
setQueryText(java.lang.String text)
Sets the query text.
|
void |
setResultSetName(java.lang.String name)
Sets the result set name.
|
void |
setResultSetNumber(int number)
Sets the result set number.
|
void |
setType(java.lang.String type)
Deprecated.
type has been replaced by extension ID
|
addFilter, columnHintsIterator, computedColumnsIterator, filtersIterator, getACLExpression, getAfterClose, getAfterOpen, getBeforeClose, getBeforeOpen, getCachedMetaDataHandle, getCachedRowCount, getDataSetRowLimit, getDataSource, getDataSourceName, getLocale, getNullsOrdering, getOnFetch, getPropertyHandle, getRowACLExpression, getRowFetchLimit, isVisible, needsCache, paramBindingsIterator, removeFilter, resultSetHintsIterator, resultSetIterator, 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, getDesign, getDesignHandle, getDimensionProperty, getDisplayLabel, getDisplayLabel, getDisplayProperty, getEffectiveModule, getElementFactory, getElementProperty, getEventHandlerClass, getExpressionProperty, getExtends, 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 OdaDataSetHandle(org.eclipse.birt.report.model.core.Module module, org.eclipse.birt.report.model.core.DesignElement element)
module
- the moduleelement
- the model representation of the elementpublic java.lang.String getPrivateDriverDesignState()
public java.lang.String getQueryScript()
public java.lang.String getQueryText()
public java.lang.String getType()
public java.lang.String getResultSetName()
public void setPrivateDriverDesignState(java.lang.String state) throws SemanticException
state
- the design state to setSemanticException
- if this property is locked.public void setQueryScript(java.lang.String script) throws SemanticException
script
- the script to setSemanticException
- if this property is locked.public void setQueryText(java.lang.String text) throws SemanticException
text
- the text to setSemanticException
- if this property is locked.public void setType(java.lang.String type) throws SemanticException
type
- the type to setSemanticException
- if this property is locked.public void setResultSetName(java.lang.String name) throws SemanticException
name
- the name to setSemanticException
- if this property is locked.public java.lang.String getExtensionName()
getExtensionID()
public java.lang.String getExtensionID()
public java.util.Iterator privateDriverPropertiesIterator()
ExtendedPropertyHandle
.ExtendedProperty
public java.lang.String getPrivateDriverProperty(java.lang.String name)
name
- the name of a public driver propertypublic void setPrivateDriverProperty(java.lang.String name, java.lang.String value) throws SemanticException
name
- the name of a public driver propertyvalue
- the value of a public driver propertySemanticException
- if name
is null
or an empty string
after trimming.public IElementDefn getDefn()
getDefn
in class DesignElementHandle
public java.util.List getExtensionPropertyDefinitionList()
public java.lang.String getDesigerStateVersion()
public void setDesigerStateVersion(java.lang.String version) throws SemanticException
version
- the version of designer state.SemanticException
- if designer state property is locked.public java.lang.String getDesigerStateContentAsString()
public void setDesigerStateContentAsString(java.lang.String content) throws SemanticException
content
- the content of designer state as the string.SemanticException
- if designer state property is locked.public byte[] getDesigerStateContentAsBlob()
public void setDesigerStateContentAsBlob(byte[] content) throws SemanticException
content
- the content of designer state as the byte.SemanticException
- if designer state property is locked.public OdaDesignerStateHandle getDesignerState()
null
if the designer state.OdaDesignerStateHandle
public OdaDesignerStateHandle setDesignerState(OdaDesignerState designerState) throws SemanticException
designerState
- new designer stateSemanticException
- if member of the designer state is not valid.public java.util.Iterator parametersIterator()
OdaDataSetParameterHandle
that represents oda dataset parameter objects.parametersIterator
in class DataSetHandle
OdaDataSetParameter
public java.lang.String getDesignerValues()
public void setDesignerValues(java.lang.String values) throws SemanticException
values
- designer values in stringSemanticException
- if the property is locked.public int getResultSetNumber()
public void setResultSetNumber(int number) throws SemanticException
number
- the result set number.SemanticException
Copyright © 2014 OpenText Corp. All rights reserved.