public class DynamicFilterParameterHandle extends AbstractScalarParameterHandle implements org.eclipse.birt.report.model.elements.interfaces.IDynamicFilterParameterModel
DynamicFilterParameter
element
module
COLUMN_PROP, DSIPLAY_TYPE_PROP, FILTER_OPERATOR_PROP, NATIVE_DATA_TYPE_PROP
CONTROL_TYPE_PROP, DATA_TYPE_PROP, DATASET_NAME_PROP, DEFAULT_VALUE_PROP, DISTINCT_PROP, IS_REQUIRED_PROP, LABEL_EXPR_PROP, LIST_LIMIT_PROP, SELECTION_LIST_PROP, SORT_BY_COLUMN_PROP, SORT_BY_PROP, SORT_DIRECTION_PROP, VALUE_EXPR_PROP, VALUE_TYPE_PROP
HELP_TEXT_KEY_PROP, HELP_TEXT_PROP, HIDDEN_PROP, PROMPT_TEXT_ID_PROP, PROMPT_TEXT_PROP, VALIDATE_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 |
---|
DynamicFilterParameterHandle(org.eclipse.birt.report.model.core.Module module,
org.eclipse.birt.report.model.core.DesignElement element)
Constructs a handle for the DynamicFilterParameter with the given design
and the parameter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkRecursiveDataSet(DataSetHandle dataSetToCheck)
Checks whether there is recursive reference if this dynamic filter
parameter uses the given data set element handle as its "dataSet"
property.
|
java.lang.String |
getColumn()
Gets the column value.
|
java.lang.String |
getControlType()
Returns the control type for this parameter.
|
java.lang.String |
getDisplayType()
Gets the display type for this parameter.
|
java.util.List<java.lang.String> |
getFilterOperatorList()
Returns the list containing filter operator.
|
int |
getNativeDataType()
Gets the native data type of the dynamic parameter.
|
void |
setColumn(java.lang.String column)
Sets the column value.
|
void |
setControlType(java.lang.String controlType)
Sets the control type for this parameter.
|
void |
setDisplayType(java.lang.String displayType)
Sets the display type for this parameter.
|
void |
setFilterOperator(java.util.List<java.lang.String> filterOperatorList)
Sets the filter operator.
|
void |
setNativeDataType(int nativeDataType)
Sets the native data type of the dynamic parameter.
|
choiceIterator, distinct, getDataSet, getDataSetName, getDataType, getDefaultValueList, getLabelExpr, getListlimit, getSortBy, getSortByColumn, getSortDirection, getValueExpr, getValueType, isRequired, setDataSet, setDataSetName, setDataType, setDefaultValueList, setDistinct, setIsRequired, setLabelExpr, setListlimit, setSortBy, setSortByColumn, setSortDirection, setValueExpr, setValueType
getDisplayPromptText, getHelpText, getHelpTextKey, getPromptText, getPromptTextID, getValidate, isHidden, setHelpText, setHelpTextKey, setHidden, setPromptText, setPromptTextID, setValidate
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, getPropertyHandle, 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 DynamicFilterParameterHandle(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 void setDisplayType(java.lang.String displayType) throws SemanticException
DesignChoiceConstants
can be one of the followings:
DYNAMIC_FILTER_SIMPLE
DYNAMIC_FILTER_ADVANCED
displayType
- SemanticException
public java.lang.String getDisplayType()
DesignChoiceConstants
can be one of the followings:
DYNAMIC_FILTER_SIMPLE
DYNAMIC_FILTER_ADVANCED
public void setColumn(java.lang.String column) throws SemanticException
column
- the column value.SemanticException
public java.lang.String getColumn()
public java.util.List<java.lang.String> getFilterOperatorList()
public void setFilterOperator(java.util.List<java.lang.String> filterOperatorList) throws SemanticException
list
- the filter operator list.SemanticException
public int getNativeDataType()
public void setNativeDataType(int nativeDataType) throws SemanticException
nativeDataType
- the native data type to setSemanticException
public java.lang.String getControlType()
DesignChoiceConstants
:
public void setControlType(java.lang.String controlType) throws SemanticException
DesignChoiceConstants
and can be one of:
controlType
- the control type value.SemanticException
public boolean checkRecursiveDataSet(DataSetHandle dataSetToCheck)
dataSetToCheck
- Copyright © 2008 Actuate Corp. All rights reserved.