Class EntityRegistry
- java.lang.Object
-
- com.evolveum.midpoint.repo.sql.helpers.modify.EntityRegistry
-
@Service public class EntityRegistry extends Object
- Author:
- Viliam Repan (lazyman)
-
-
Constructor Summary
Constructors Constructor Description EntityRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> javax.persistence.metamodel.Attribute<T,?>
findAttribute(javax.persistence.metamodel.ManagedType<T> type, String name)
<T> javax.persistence.metamodel.Attribute<T,?>
findAttributeOverride(javax.persistence.metamodel.ManagedType<T> type, String nameOverride)
<T> javax.persistence.metamodel.Attribute<T,?>
findAttributePathOverride(javax.persistence.metamodel.ManagedType<T> type, ItemPath pathOverride)
<T> javax.persistence.metamodel.ManagedType<T>
getJaxbMapping(Class<T> jaxbType)
<T> javax.persistence.metamodel.ManagedType<T>
getMapping(Class<T> entityType)
boolean
hasAttributePathOverride(javax.persistence.metamodel.ManagedType<?> type, ItemPath pathOverride)
void
init()
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getJaxbMapping
public <T> javax.persistence.metamodel.ManagedType<T> getJaxbMapping(Class<T> jaxbType)
-
getMapping
public <T> javax.persistence.metamodel.ManagedType<T> getMapping(Class<T> entityType)
-
findAttribute
public <T> javax.persistence.metamodel.Attribute<T,?> findAttribute(javax.persistence.metamodel.ManagedType<T> type, String name)
-
findAttributeOverride
public <T> javax.persistence.metamodel.Attribute<T,?> findAttributeOverride(javax.persistence.metamodel.ManagedType<T> type, String nameOverride)
-
hasAttributePathOverride
public boolean hasAttributePathOverride(javax.persistence.metamodel.ManagedType<?> type, ItemPath pathOverride)
-
findAttributePathOverride
public <T> javax.persistence.metamodel.Attribute<T,?> findAttributePathOverride(javax.persistence.metamodel.ManagedType<T> type, ItemPath pathOverride)
-
-