public class DBObjectUtil extends Object
| Constructor and Description |
|---|
DBObjectUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
fromObject(Class<?> type,
Object o) |
static boolean |
needsNoConversion(Class clazz) |
static boolean |
objectIsMutable(Object object)
Returns true if the given object is a "mutable" type that needs to be enhanced
as DirtyableDBObject to prevent lost changes.
|
static Object |
toDBObject(Object object) |
public static boolean objectIsMutable(Object object)
object - object to checkpublic static boolean needsNoConversion(Class clazz)
Copyright © 2014. All Rights Reserved.