public class MetadataHelper
extends java.lang.Object
| Constructor and Description |
|---|
MetadataHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getEntityTypeName(java.lang.Class clazz)
Get the type name in the form "Order:#northwind.model"
|
static java.lang.String |
getEntityTypeName(java.lang.String packageName,
java.lang.String simpleName) |
static IProperty |
getPropertyFromPath(java.lang.String propertyPath,
IEntityType entityType) |
static java.lang.Class |
lookupClass(java.lang.String entityTypeName)
Given a name in the form "Customer:#northwind.model", returns Class northwind.model.Customer.
|
public static java.lang.String getEntityTypeName(java.lang.Class clazz)
clazz - public static java.lang.String getEntityTypeName(java.lang.String packageName,
java.lang.String simpleName)
public static java.lang.Class lookupClass(java.lang.String entityTypeName)
entityTypeName - public static IProperty getPropertyFromPath(java.lang.String propertyPath, IEntityType entityType)