| Modifier and Type | Field and Description |
|---|---|
protected EntityContext |
context |
protected Populator |
populator |
| Constructor and Description |
|---|
DefaultModelMeta() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEntityName(Object obj)
getEntityName.
|
EntityType |
getEntityType(Class<?> clazz)
getEntityType.
|
EntityType |
getEntityType(String entityName)
getEntityType.
|
Populator |
getPopulator()
Returns populator
|
Type |
getType(String entityName)
getType.
|
<T extends Entity<?>> |
newInstance(Class<T> clazz)
newInstance.
|
<T extends Entity<ID>,ID extends Serializable> |
newInstance(Class<T> clazz,
ID id)
newInstance.
|
void |
setContext(EntityContext context) |
void |
setPopulator(Populator populator) |
protected EntityContext context
protected Populator populator
public <T extends Entity<?>> T newInstance(Class<T> clazz)
newInstance.
newInstance in interface ModelMetaT - a T object.clazz - public <T extends Entity<ID>,ID extends Serializable> T newInstance(Class<T> clazz, ID id)
newInstance.
newInstance in interface ModelMetaT - a T object.clazz - a Class object.id - a Serializable object.public EntityType getEntityType(String entityName)
getEntityType.
getEntityType in interface ModelMetaentityName - a String object.EntityType object.public String getEntityName(Object obj)
getEntityName.
getEntityName in interface ModelMetaobj - a Object object.String object.public EntityType getEntityType(Class<?> clazz)
getEntityType.
getEntityType in interface ModelMetaclazz - a Class object.EntityType object.public void setContext(EntityContext context)
public void setPopulator(Populator populator)
public Populator getPopulator()
ModelMetagetPopulator in interface ModelMetaCopyright © 2005–2018 The Beangle Software. All rights reserved.