Builder is used to build DOFQueries.
Inheritance Hierarchy
org.opendof.core.oalDOFQueryBuilder
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class Builder
The DOFQueryBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | DOFQueryBuilder | Construct a DOFQuery.Builder. |
![]() | DOFQueryBuilder(DOFQuery) | Construct a DOFQuery.Builder based on another DOFQuery. |
Methods
Name | Description | |
---|---|---|
![]() | addFilter(DOFInterfaceID) | Add a filter for specific DOFObjects that currently provide the Object Interface specified.
|
![]() | addFilter(ICollectionDOFInterfaceID) | Add a filter for specific objects that currently provide all of the interfaces specified.
|
![]() | addFilter(DOFObjectID) |
Add filter for a specific Device Object, as specified by a Device Object identifier, regardless of interfaces
provided.
|
![]() | addFilter(DOFObjectID, DOFInterfaceID) | Add a filter for a specific Device Object that provides the specified interface.
|
![]() | addFilter(DOFObjectID, ICollectionDOFInterfaceID) | Add a filter for a specific Device Object as specified by a Device Object identifier.
|
![]() | addFilter(ICollectionDOFObjectID, ICollectionDOFInterfaceID) | Add a filter for specific Device Objects by providing a List of DOFObjectIDs.
|
![]() | addRestriction(DOFInterfaceID) | Restrict filter notification to a set of interface identifiers. |
![]() | addRestriction(ICollectionDOFInterfaceID) | Restrict filter notification to a set of interface identifiers. |
![]() | build | Construct a new DOFQuery based on the builder's current filter list, restriction list, and style.
|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | setMatchStyle | Set the matching style to use in processing this query. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
DOFQuery query = new DOFQuery.Builder() .addFilter(...) .addFilter(...) .build();
See Also