|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.metadata.MetadataManager
@Deprecated public class MetadataManager
Method Summary | |
---|---|
static Object |
convertPrimaryKeyMapToObject(Class entityClazz,
Map<String,Object> pkMap)
Deprecated. This converts a map of primary keys into an object: in the case of a single key, just the value object iself; in the case of a composite key, the correct composite key object populated with the values from the map |
static EntityDescriptor |
getEntityDescriptor(Class clazz)
Deprecated. |
static Object |
getEntityPrimaryKeyObject(Object object)
Deprecated. Retrieves the primary key as an object for the given Object (which is assumed to be a JPA entity). |
static Map<String,Object> |
getEntityPrimaryKeyValuePairs(Object object)
Deprecated. |
static Object |
getPersistableBusinessObjectPrimaryKeyObjectWithValuesForExtension(Object owner,
Object extension)
Deprecated. Retrieves the primary key as an object for the given Object (which is assumed to be a JPA entity), filling it with values from the extension. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EntityDescriptor getEntityDescriptor(Class clazz)
public static Map<String,Object> getEntityPrimaryKeyValuePairs(Object object)
public static Object getEntityPrimaryKeyObject(Object object)
object
- the object to get a primary key value from
public static Object getPersistableBusinessObjectPrimaryKeyObjectWithValuesForExtension(Object owner, Object extension)
owner
- the object to get values fromextension
- the object to build a key for
public static Object convertPrimaryKeyMapToObject(Class entityClazz, Map<String,Object> pkMap)
entityClazz
- the class of the entity the pkMap was forpkMap
- the map of primary key fields and values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |