public class AccessQueryResult extends Object implements IServiceProvider
AccessQuery over intervals.| Constructor and Description |
|---|
AccessQueryResult()
Initializes a new instance.
|
AccessQueryResult(TimeIntervalCollection satisfactionIntervals,
TimeIntervalCollection unknownIntervals)
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
TimeIntervalCollection |
getSatisfactionIntervals()
Gets the intervals during which the query is satisfied.
|
Object |
getService(Class<?> serviceType)
Gets the service object of the specified type.
|
TimeIntervalCollection |
getUnknownIntervals()
Gets the intervals during which it is unknown whether
the query is satisfied because insufficient information is available.
|
public AccessQueryResult()
public AccessQueryResult(TimeIntervalCollection satisfactionIntervals, TimeIntervalCollection unknownIntervals)
satisfactionIntervals - The intervals during which the query is satisfied.unknownIntervals - The intervals during which it is unknown whether the query is satisfied because insufficient data is available.public final TimeIntervalCollection getSatisfactionIntervals()
public final TimeIntervalCollection getUnknownIntervals()
@Nullable public Object getService(@Nonnull Class<?> serviceType)
getService in interface IServiceProviderserviceType - An object that specifies the type of service object to get.null if the service does not exist.ArgumentNullException - Thrown when serviceType is null.