public class ServiceQuery<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected IAsyncFilter<T> |
filter
Filter for checking further service attributes.
|
protected IComponentIdentifier |
owner
The query owner.
|
protected java.lang.String |
scope
The search scope.
|
protected ClassInfo |
type
The service type.
|
Constructor and Description |
---|
ServiceQuery()
Create a new service query.
|
ServiceQuery(java.lang.Class<T> type,
java.lang.String scope,
IAsyncFilter<T> filter,
IComponentIdentifier owner)
Create a new service query.
|
ServiceQuery(ClassInfo type,
java.lang.String scope,
IAsyncFilter<T> filter,
IComponentIdentifier owner)
Create a new service query.
|
Modifier and Type | Method and Description |
---|---|
IAsyncFilter<T> |
getFilter()
Get the filter.
|
IComponentIdentifier |
getOwner()
Get the owner.
|
java.lang.String |
getScope()
Get the scope.
|
ClassInfo |
getType()
Get the type.
|
void |
setFilter(IAsyncFilter<T> filter)
Set the filter.
|
void |
setOwner(IComponentIdentifier owner)
Set the owner.
|
void |
setScope(java.lang.String scope)
Set the scope.
|
void |
setType(ClassInfo type)
Set the type.
|
protected ClassInfo type
protected java.lang.String scope
protected IAsyncFilter<T> filter
protected IComponentIdentifier owner
public ServiceQuery()
public ServiceQuery(java.lang.Class<T> type, java.lang.String scope, IAsyncFilter<T> filter, IComponentIdentifier owner)
public ServiceQuery(ClassInfo type, java.lang.String scope, IAsyncFilter<T> filter, IComponentIdentifier owner)
public ClassInfo getType()
public void setType(ClassInfo type)
type
- The type to setpublic java.lang.String getScope()
public void setScope(java.lang.String scope)
scope
- The scope to setpublic IAsyncFilter<T> getFilter()
public void setFilter(IAsyncFilter<T> filter)
filter
- The filter to setpublic IComponentIdentifier getOwner()
public void setOwner(IComponentIdentifier owner)
owner
- The owner to set