public class FilterExprDefinition extends java.lang.Object implements IFilterExprDefinition
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.lang.String |
birtFilterDisplayName
BIRT predefined filter expression operator display name.
|
protected java.lang.String |
birtFilterExprId
Filter operator defined by BIRT.
|
protected int |
maxArgs
The max number of arguments that this filter operator required.
|
protected int |
minArgs
The min number of arguments that this filter operator required.
|
protected boolean |
supportUnboundedMaxArgs
Indicates if this filter operator expression support unlimited max number
of arguments.
|
protected static int |
UNDEFINED |
BIRT_SUPPORT_ONLY, EXPR_MAPPING_SUPPORTED, EXTENSION_SUPPORT_ONLY| 构造器和说明 |
|---|
FilterExprDefinition() |
FilterExprDefinition(java.lang.String birtFilterExpr)
Constructor for FilterExprDefinition by BIRT predefined filter expression
operator id.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
expressionSupportedType()
Returns the expression supported type of this FilterExprDefinition.
|
java.lang.String |
getBirtFilterExprDisplayName()
Return the corresponding BIRT predefined Filter expression operator
display name.
|
java.lang.String |
getBirtFilterExprDisplayName(com.ibm.icu.util.ULocale locale)
Return the corresponding BIRT predefined Filter expression operator
display name.
|
java.lang.String |
getBirtFilterExprId()
Returns the BIRT predefined filter expression operator internal name.
|
java.lang.String |
getExtFilterDisplayName()
Returns the display name of this Filter expression.
|
java.lang.String |
getExtFilterExprId()
Returns the ODA filter extension filter expression id if there is.
|
java.lang.Integer |
getMaxArguments()
Returns the number of arguments that this filter definition can maximize
supported.
|
java.lang.Integer |
getMinArguments()
Returns the min arguments required by this filter expression definition.
|
java.lang.String |
getProviderExtensionId()
Returns the ODA filter extension provider ID if there is.
|
protected void |
initBirtExpr(int birtOperator) |
boolean |
isNegatedExtExprId()
Indicates whether the expression is mapped to the negated data base
expression, i.e. the database expression should be nested within a
NotExpression.
|
boolean |
supportsAPIDataType(int apiDataType)
Indicates whether the given API type is supported by this filter
operator.
|
boolean |
supportsUnboundedMaxArguments()
Indicates if this filter definition support unbounded max arguments.
|
protected static final int UNDEFINED
protected java.lang.String birtFilterExprId
protected java.lang.String birtFilterDisplayName
protected int minArgs
protected int maxArgs
protected boolean supportUnboundedMaxArgs
public FilterExprDefinition()
public FilterExprDefinition(java.lang.String birtFilterExpr)
throws java.lang.IllegalArgumentException
birtFilterExpr - BIRT predefined filter expression operator Id.java.lang.IllegalArgumentExceptionpublic int expressionSupportedType()
IFilterExprDefinitionexpressionSupportedType 在接口中 IFilterExprDefinitionpublic java.lang.String getBirtFilterExprId()
IFilterExprDefinitiongetBirtFilterExprId 在接口中 IFilterExprDefinitionpublic java.lang.String getBirtFilterExprDisplayName()
IFilterExprDefinitiongetBirtFilterExprDisplayName 在接口中 IFilterExprDefinitionpublic java.lang.String getExtFilterDisplayName()
IFilterExprDefinitiongetExtFilterDisplayName 在接口中 IFilterExprDefinitionpublic java.lang.String getExtFilterExprId()
IFilterExprDefinitiongetExtFilterExprId 在接口中 IFilterExprDefinitionpublic java.lang.Integer getMaxArguments()
IFilterExprDefinitiongetMaxArguments 在接口中 IFilterExprDefinitionpublic java.lang.Integer getMinArguments()
IFilterExprDefinitiongetMinArguments 在接口中 IFilterExprDefinitionpublic java.lang.String getProviderExtensionId()
IFilterExprDefinitiongetProviderExtensionId 在接口中 IFilterExprDefinitionpublic boolean supportsUnboundedMaxArguments()
IFilterExprDefinitionsupportsUnboundedMaxArguments 在接口中 IFilterExprDefinitionprotected void initBirtExpr(int birtOperator)
public boolean isNegatedExtExprId()
IFilterExprDefinitionOne example is that: the database may use eq and negated eq to represent BIRT EQ and NE.
isNegatedExtExprId 在接口中 IFilterExprDefinitiontrue if mapped to a negated provider expression;
false otherwise.public java.lang.String getBirtFilterExprDisplayName(com.ibm.icu.util.ULocale locale)
IFilterExprDefinitiongetBirtFilterExprDisplayName 在接口中 IFilterExprDefinitionpublic boolean supportsAPIDataType(int apiDataType)
IFilterExprDefinitionsupportsAPIDataType 在接口中 IFilterExprDefinitionapiDataType - the api data typetrue if it is supported. Otherwise,
false.Copyright © 2008 Actuate Corp. All rights reserved.