|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.filterExtension.FilterExprDefinition
public class FilterExprDefinition
FilterExprDefinition
| Field Summary | |
|---|---|
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
|
| Fields inherited from interface org.eclipse.birt.report.model.api.filterExtension.interfaces.IFilterExprDefinition |
|---|
BIRT_SUPPORT_ONLY, EXPR_MAPPING_SUPPORTED, EXTENSION_SUPPORT_ONLY |
| Constructor Summary | |
|---|---|
FilterExprDefinition()
|
|
FilterExprDefinition(java.lang.String birtFilterExpr)
Constructor for FilterExprDefinition by BIRT predefined filter expression operator id. |
|
| Method Summary | |
|---|---|
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int UNDEFINED
protected java.lang.String birtFilterExprId
protected java.lang.String birtFilterDisplayName
protected int minArgs
protected int maxArgs
protected boolean supportUnboundedMaxArgs
| Constructor Detail |
|---|
public FilterExprDefinition()
public FilterExprDefinition(java.lang.String birtFilterExpr)
throws java.lang.IllegalArgumentException
birtFilterExpr - BIRT predefined filter expression operator Id.
java.lang.IllegalArgumentException| Method Detail |
|---|
public int expressionSupportedType()
IFilterExprDefinition
expressionSupportedType in interface IFilterExprDefinitionpublic java.lang.String getBirtFilterExprId()
IFilterExprDefinition
getBirtFilterExprId in interface IFilterExprDefinitionpublic java.lang.String getBirtFilterExprDisplayName()
IFilterExprDefinition
getBirtFilterExprDisplayName in interface IFilterExprDefinitionpublic java.lang.String getExtFilterDisplayName()
IFilterExprDefinition
getExtFilterDisplayName in interface IFilterExprDefinitionpublic java.lang.String getExtFilterExprId()
IFilterExprDefinition
getExtFilterExprId in interface IFilterExprDefinitionpublic java.lang.Integer getMaxArguments()
IFilterExprDefinition
getMaxArguments in interface IFilterExprDefinitionpublic java.lang.Integer getMinArguments()
IFilterExprDefinition
getMinArguments in interface IFilterExprDefinitionpublic java.lang.String getProviderExtensionId()
IFilterExprDefinition
getProviderExtensionId in interface IFilterExprDefinitionpublic boolean supportsUnboundedMaxArguments()
IFilterExprDefinition
supportsUnboundedMaxArguments in interface 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 in interface IFilterExprDefinitiontrue if mapped to a negated provider expression;
false otherwise.public java.lang.String getBirtFilterExprDisplayName(com.ibm.icu.util.ULocale locale)
IFilterExprDefinition
getBirtFilterExprDisplayName in interface IFilterExprDefinitionpublic boolean supportsAPIDataType(int apiDataType)
IFilterExprDefinition
supportsAPIDataType in interface IFilterExprDefinitionapiDataType - the api data type
true if it is supported. Otherwise,
false.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||