T
- The type of data.public class AccessQueryCesiumProperty<T> extends CesiumProperty<T>
CesiumProperty
which maps the result of an AccessQuery
to different values depending on the generated AccessQueryResult
.Constructor and Description |
---|
AccessQueryCesiumProperty()
Initializes a new instance.
|
AccessQueryCesiumProperty(AccessQuery accessQuery,
IServiceProvider timeObserver,
T accessExists,
T accessUnknown,
T noAccess)
Creates a new instance with the specified parameters.
|
AccessQueryCesiumProperty(AccessQuery accessQuery,
T accessExists,
T accessUnknown,
T noAccess)
Creates a new instance with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
T |
getAccessExists()
Gets the value of the property when access exists.
|
T |
getAccessUnknown()
Gets the value of the property when access is unknown.
|
T |
getNoAccess()
Gets the value of the property when no access exists.
|
AccessQuery |
getQuery()
Gets the access query to evaluate.
|
IServiceProvider |
getTimeObserver()
Gets the
IServiceProvider to use as the time observer for the query. |
void |
setAccessExists(T value)
Sets the value of the property when access exists.
|
void |
setAccessUnknown(T value)
Sets the value of the property when access is unknown.
|
void |
setNoAccess(T value)
Sets the value of the property when no access exists.
|
void |
setQuery(AccessQuery value)
Sets the access query to evaluate.
|
void |
setTimeObserver(IServiceProvider value)
Sets the
IServiceProvider to use as the time observer for the query. |
createGenerators, toCesiumProperty, toCesiumProperty, toCesiumProperty
public AccessQueryCesiumProperty()
public AccessQueryCesiumProperty(AccessQuery accessQuery, T accessExists, T accessUnknown, T noAccess)
accessQuery
- The query to evaluate.accessExists
- The value of the property when access exists.accessUnknown
- The value of the property when access is unknown.noAccess
- The value of the property when no access exists.public AccessQueryCesiumProperty(AccessQuery accessQuery, IServiceProvider timeObserver, T accessExists, T accessUnknown, T noAccess)
accessQuery
- The query to evaluate.timeObserver
- The IServiceProvider
time observer to use when evaluating this query.accessExists
- The value of the property when access exists.accessUnknown
- The value of the property when access is unknown.noAccess
- The value of the property when no access exists.public final AccessQuery getQuery()
public final void setQuery(AccessQuery value)
public final IServiceProvider getTimeObserver()
IServiceProvider
to use as the time observer for the query.public final void setTimeObserver(IServiceProvider value)
IServiceProvider
to use as the time observer for the query.public final T getAccessExists()
public final void setAccessExists(T value)
public final T getAccessUnknown()
public final void setAccessUnknown(T value)
public final T getNoAccess()
public final void setNoAccess(T value)