Class QueryModelMappingRegistry
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMappingRegistry
Holds 
QueryTableMapping instances obtainable by various key (e.g. schema type Q-name).
 The registry is oblivious to the actual configuration defined elsewhere.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<S,Q extends FlexibleRelationalPathBase<R>, R> 
 QueryTableMapping<S,Q, R> getByQueryType(Class<Q> queryType) <S,Q extends FlexibleRelationalPathBase<R>, R, QM extends QueryTableMapping<S, Q, R>> 
 QMgetBySchemaType(Class<S> schemaType) register(QueryTableMapping<?, ?, ?> mapping) Register mapper not bound to a schema type.register(QName schemaQName, QueryTableMapping<?, ?, ?> mapping) Register mapper bound to a schema type.voidseal()Seals the configuration of the registry.
- 
Constructor Details- 
QueryModelMappingRegistrypublic QueryModelMappingRegistry()
 
- 
- 
Method Details- 
registerRegister mapper bound to a schema type. Mapping can be later obtained by its schema class, schema name or query class.
- 
registerRegister mapper not bound to a schema type. This can happen for detail tables that have no unique mapping from schema type. Mapping can be later obtained only by its query class, not by schema type/name.
- 
sealpublic void seal()Seals the configuration of the registry.
- 
getBySchemaTypepublic <S,Q extends FlexibleRelationalPathBase<R>, QM getBySchemaTypeR, QM extends QueryTableMapping<S, Q, R>> (Class<S> schemaType) 
- 
getByQueryTypepublic <S,Q extends FlexibleRelationalPathBase<R>, QueryTableMapping<S,R> Q, getByQueryTypeR> (Class<Q> queryType) 
 
-