public class EntityMappingsMocker extends Object
JaxbEntityMappings
generated from orm.xml.Modifier and Type | Class and Description |
---|---|
static class |
EntityMappingsMocker.Default |
Constructor and Description |
---|
EntityMappingsMocker(List<JaxbEntityMappings> entityMappingsList,
org.jboss.jandex.Index index,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
org.jboss.jandex.Index |
mockNewIndex()
Create new
Index with mocking JPA annotations from JaxbEntityMappings and merge them with existing Index |
public EntityMappingsMocker(List<JaxbEntityMappings> entityMappingsList, org.jboss.jandex.Index index, ServiceRegistry serviceRegistry)
public org.jboss.jandex.Index mockNewIndex()
Index
with mocking JPA annotations from JaxbEntityMappings
and merge them with existing Index
Index
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.