An instance of OM class DS_C_SEARCH_CRITERION is a component of a DS_C_SEARCH_GUIDE OM object.
An instance of this OM class has the OM attributes of its superclass, OM_C_OBJECT, in addition to the OM attributes listed in the following table.
OM Attributes of DS_C_SEARCH_CRITERION
OM Attribute |
Value Syntax |
Value Length | Value Number | Value Initially |
DS_ ATTRIBUTE_ TYPE |
String (OM_S_ OBJECT_ IDENTIFIER_ STRING |
- | 0 or 1 | - |
DS_CRITERIA | Object(DS_C_ SEARCH_ CRITERION |
- | 0 or more | - |
DS_FILTER_ ITEM_TYPE |
Enum(DS_Filter_ Item_Type |
- | 0 or 1 | - |
DS_FILTER_ TYPE |
Enum(DS_Filter_ Type |
- | 1 | DS_ITEM |
· DS_ATTRIBUTE_TYPE
This attribute indicates the attribute type to be used in the suggested DS_C_FILTER_ITEM. This OM attribute is only present when the value of DS_FILTER_TYPE is DS_ITEM.
· DS_CRITERIA
This attribute contains nested search criteria. This OM attribute is not present when the value of DS_FILTER_TYPE is DS_ITEM.
· DS_FILTER_ITEM_TYPE
This attribute indicates the type of suggested filter item. Its value can be one of the following:
- DS_APPROXIMATE_MATCH
- DS_EQUALITY
- DS_GREATER_OR_EQUAL
- DS_LESS_OR_EQUAL
- DS_SUBSTRINGS
However, the filter item cannot have the value DS_PRESENT. This OM attribute is only present when the value of DS_FILTER_TYPE is DS_ITEM.
· DS_FILTER_TYPE
This attribute indicates the type of suggested filter. The value DS_ITEM means that the suggested component is a filter item, not a filter. The other values suggest the corresponding type of filter. Its value is one of the following:
- DS_AND
- DS_ITEM
- DS_NOT
- DS_OR