public class EntityTypeExt<T> extends Object implements net.inveed.commons.reflection.ext.IBeanTypeExtension<T>
| Constructor and Description |
|---|
EntityTypeExt(net.inveed.commons.reflection.BeanTypeDesc<T> type) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(javax.persistence.EntityManager em,
Object id) |
net.inveed.commons.reflection.BeanTypeDesc<T> |
getBeanType() |
static String[] |
getEntities() |
static net.inveed.commons.reflection.BeanTypeDesc<?> |
getEntity(String name) |
String |
getEntityName() |
List<net.inveed.commons.reflection.BeanPropertyDesc> |
getIDFields() |
IEntityInstantiator<?,?> |
getInstantiator() |
String |
getTableName() |
void |
initialize() |
boolean |
isMappedSuperclass() |
boolean |
isValid() |
protected void |
processIdFields() |
public EntityTypeExt(net.inveed.commons.reflection.BeanTypeDesc<T> type)
public static final net.inveed.commons.reflection.BeanTypeDesc<?> getEntity(String name)
public boolean isValid()
isValid in interface net.inveed.commons.reflection.ext.IBeanTypeExtension<T>public boolean isMappedSuperclass()
public net.inveed.commons.reflection.BeanTypeDesc<T> getBeanType()
getBeanType in interface net.inveed.commons.reflection.ext.IBeanTypeExtension<T>public String getTableName()
public void initialize()
initialize in interface net.inveed.commons.reflection.ext.IBeanTypeExtension<T>protected void processIdFields()
public List<net.inveed.commons.reflection.BeanPropertyDesc> getIDFields()
public String getEntityName()
public IEntityInstantiator<?,?> getInstantiator()
public static String[] getEntities()
Copyright © 2018. All rights reserved.