public abstract class AbstractQuery extends AbstractContext
Q. Contexts are used to add arbitrary
data that cannot be be mapped in a standard way to the money API, e.g. use case or customer specific
extensions os specialities.Superclasses of this class must be final, immutable, serializable and thread-safe.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
KEY_QUERY_PROVIDERS
Key for storing the target providers to be queried
|
protected static String |
KEY_QUERY_TARGET_TYPE
Key name for the target type attribute.
|
protected static String |
KEY_QUERY_TIMESTAMP
Key name for the timestamp attribute.
|
KEY_PROVIDER| Modifier | Constructor and Description |
|---|---|
protected |
AbstractQuery(AbstractQueryBuilder builder)
Constructor, using a builder.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getProviderNames()
Returns the providers and their ordering to be considered.
|
Class<?> |
getTargetType()
Gets the target implementation type required.
|
protected static final String KEY_QUERY_PROVIDERS
protected static final String KEY_QUERY_TIMESTAMP
protected static final String KEY_QUERY_TARGET_TYPE
protected AbstractQuery(AbstractQueryBuilder builder)
builder - the builder, not null.public List<String> getProviderNames()
getDefaultProviderNames() should be used.public Class<?> getTargetType()
Copyright © 2012–2016 JSR 354 - Expert Group. All rights reserved.