Filter for the list binding
Constructor for Filter
new sap.ui.model.odata.Filter(sPath, aValues, bAND?)
Param | Type | Default Value | Description |
---|---|---|---|
sPath | string | the binding path for this filter |
|
aValues | object[] | Array of FilterOperators and their values: [{operator:"GE",value1:"val1"},{operator:"LE",value1:"val1"},{operator:"BT",value1:"val1",value2:"val2"}] |
|
bAND? | boolean | true | If true the values from aValues will be ANDed; otherwise ORed |
Method | Description |
---|---|
convert |
Converts the |
sap.ui.model.odata.Filter.extend |
Creates a new subclass of class sap.ui.model.odata.Filter with name
|
sap.ui.model.odata.Filter.getMetadata |
Returns a metadata object for class sap.ui.model.odata.Filter. |
Creates a new subclass of class sap.ui.model.odata.Filter with name sClassName
and enriches it with the information contained in oClassInfo
.
oClassInfo
might contain the same kind of information as described in sap.ui.base.Object.extend.
Param | Type | DefaultValue | Description |
---|---|---|---|
sClassName | string |
Name of the class being created |
|
oClassInfo | object |
Object literal with information about the class |
|
FNMetaImpl | function |
Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class |