com.evolveum.midpoint.repo.sql.query
Class QueryRegistry
java.lang.Object
com.evolveum.midpoint.repo.sql.query.QueryRegistry
public class QueryRegistry
- extends 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(Class<T> type)
findDefinition
public EntityDefinition findDefinition(QName qname)
getFields
public static List<Field> getFields(Class clazz)
- Method returns declared field from class and it's super classes, it skips static fields.
Copyright © 2013 evolveum. All Rights Reserved.