com.evolveum.midpoint.repo.sql.query
Class QueryRegistry
java.lang.Object
com.evolveum.midpoint.repo.sql.query.QueryRegistry
public class QueryRegistry
- extends java.lang.Object
This registry provides mapping from QName names to real property names in entity classes.
This translation is used during query building.
- Author:
- lazyman
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryRegistry
public QueryRegistry()
getInstance
public static QueryRegistry getInstance()
throws QueryException
- Throws:
QueryException
findDefinition
public <T extends ObjectType> EntityDefinition findDefinition(java.lang.Class<T> type)
findDefinition
public EntityDefinition findDefinition(javax.xml.namespace.QName qname)
getFields
public static java.util.List<java.lang.reflect.Field> getFields(java.lang.Class clazz)
- Method returns declared field from class and it's super classes, it skips static fields.
Copyright © 2012 evolveum. All Rights Reserved.