|
||||||||||
| 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.DataSourceHandle
org.eclipse.birt.report.model.api.ScriptDataSourceHandle
public class ScriptDataSourceHandle
Represents a script data source. Script data source is one that is defined in JavaScript. The application is responsible for implementing two operations:
ScriptDataSource| 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.IScriptDataSourceModel |
|---|
CLOSE_METHOD, OPEN_METHOD |
| Fields inherited from interface org.eclipse.birt.report.model.elements.interfaces.IDataSourceModel |
|---|
AFTER_CLOSE_METHOD, AFTER_OPEN_METHOD, BEFORE_CLOSE_METHOD, BEFORE_OPEN_METHOD |
| 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 | |
|---|---|
ScriptDataSourceHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a handle for script data source. |
|
| Method Summary | |
|---|---|
java.lang.String |
getClose()
Returns the script name for closing data connection. |
java.lang.String |
getOpen()
Returns the script name for opening data connection. |
void |
setClose(java.lang.String value)
Sets the script name for closing data connection. |
void |
setOpen(java.lang.String value)
Sets the script for opening data connection. |
| Methods inherited from class org.eclipse.birt.report.model.api.DataSourceHandle |
|---|
getAfterClose, getAfterOpen, getBeforeClose, getBeforeOpen, setAfterClose, setAfterOpen, setBeforeClose, setBeforeOpen |
| 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 ScriptDataSourceHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
module - the moduleelement - the script data source element| Method Detail |
|---|
public void setOpen(java.lang.String value)
throws SemanticException
value - the script to set.
SemanticException - if the property is locked.public java.lang.String getOpen()
public void setClose(java.lang.String value)
throws SemanticException
value - the script name to set.
SemanticException - if the property is locked.public java.lang.String getClose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||