DOFQuery ClassOpenDOF Object Access Library
The DOFQuery class is used to specify filters for calling QueryOperationListener when object interfaces are added to or removed from the system. A DOFQuery consists of a list of filters and a restriction list of DOFInterfaceIDs. A Filter consists of a list of DOFObjectIDs and a list of DOFInterfaceIDs; both may be empty. To match a filter the providing object must be providing on ANY of the specified DOFObjectIDs (if the list of DOFObjectIDs is empty it will match any OID) and must be providing ALL of the specified DOFInterfaceIDs (if the list of DOFInterfaceIDs is empty it will match any IID). To match a query the providing object must match ANY filter and and be in the restriction list (if the restriction list is empty it will match any IID).

Must be created with a Builder . This class is immutable once built. Any changes will need to be made using the Builder.Builder(DOFQuery) constructor.

Inheritance Hierarchy

SystemObject
  org.opendof.core.oalDOFQuery

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
[SerializableAttribute]
public sealed class DOFQuery : DOFImmutable

The DOFQuery type exposes the following members.

Constructors

  NameDescription
Public methodDOFQuery
Initializes a new instance of the DOFQuery class
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisFilterMatch
Does the object and interfaces match a query.
Public methodisPreviousFilterMatch
Does the objectID match a query and has it already been matched on this query.
Public methodrestrict
Gets the intersection of the set of interfaces that are currently provided and the set of interfaces in the restriction list.
Public methodToString (Overrides ObjectToString.)
Top
See Also

Reference

DOFSystem.beginQuery(DOFQuery, QueryOperationListener)