Modifier | Constructor and Description |
---|---|
private |
Jpql() |
Modifier and Type | Method and Description |
---|---|
static <E> EntityAlias<E> |
alias(Class<E> entityClass) |
static <T,E extends T,B extends T> |
alias(Class<E> entityClass,
B beanPrototype) |
static <T,E extends T,B extends T> |
alias(Class<T> entityInterface,
Class<E> entityClass,
B beanPrototype) |
private static String |
getEntityName(Class<?> entityClass) |
public static <E> EntityAlias<E> alias(Class<E> entityClass)
E
- the generic type of the Entity
Class
.entityClass
- the Entity
Class
.EntityAlias
.public static <T,E extends T,B extends T> EntityAlias<B> alias(Class<E> entityClass, B beanPrototype)
T
- the generic type of the common Entity
interface.E
- the generic type of the JPA Entity
Class
.B
- the generic type of the EntityBean
interface.entityClass
- the Entity
Class
.beanPrototype
- the Bean
prototype
.EntityAlias
.public static <T,E extends T,B extends T> EntityAlias<T> alias(Class<T> entityInterface, Class<E> entityClass, B beanPrototype)
T
- the generic type of the common Entity
interface.E
- the generic type of the JPA Entity
Class
.B
- the generic type of the EntityBean
interface.entityInterface
- the Entity
interface.entityClass
- the Entity
Class
.beanPrototype
- the Bean
prototype
.EntityAlias
.Copyright © 2001–2016 mmm-Team. All rights reserved.