public class IdHelper
extends java.lang.Object
Constructor and Description |
---|
IdHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
buildId(PersistenceContext app,
java.lang.String entityName,
java.lang.String idString) |
static java.lang.Object |
buildObjectShell(PersistenceContext context,
java.lang.String entityType,
java.lang.Object id)
build a shell of an object based on a primary key.
|
static java.lang.String |
stringifyId(java.lang.Object entity,
java.lang.String typeName,
PersistenceContext app) |
public static java.lang.Object buildId(PersistenceContext app, java.lang.String entityName, java.lang.String idString)
public static java.lang.String stringifyId(java.lang.Object entity, java.lang.String typeName, PersistenceContext app)
public static java.lang.Object buildObjectShell(PersistenceContext context, java.lang.String entityType, java.lang.Object id)
context
- entityType
- id
-