public class EntityMetaInfoProvider extends Object
| Constructor and Description |
|---|
EntityMetaInfoProvider()
create new instance.
|
| Modifier and Type | Method and Description |
|---|---|
EntityMetaInfo |
getMetaInfoForEntityClass(Class<?> aClass) |
EntityMetaInfo |
getMetaInforForEntity(Object aEntity) |
PersistenceUnit |
getPersistenceUnit()
provides access to member m_aPersistenceUnit.
|
String |
getPersistenceUnitName() |
void |
retrieveMetaInfo() |
void |
setPersistenceUnit(PersistenceUnit aUnit) |
String |
toString() |
public void setPersistenceUnit(PersistenceUnit aUnit) throws Exception
Exceptionpublic PersistenceUnit getPersistenceUnit() throws Exception
Exception - in case persistence unit couldnt be created
successfull ... e.g. because corresponding configuration
seems to be invalid.public EntityMetaInfo getMetaInforForEntity(Object aEntity) throws Exception
Exceptionpublic EntityMetaInfo getMetaInfoForEntityClass(Class<?> aClass) throws Exception
ExceptionCopyright © 2016 as-development.net. All rights reserved.