com.ibm.btt.bean
Class TypeManager
java.lang.Object
com.ibm.btt.bean.TypeManager
public class TypeManager
- extends java.lang.Object
The TypeManager class is used to treat a Class as a simple type,it contains a ArrayList> object,
to cache the simple Class
Method Summary |
static java.lang.Object |
cloneObject(java.lang.Object obj)
invoker the object clone method to get the cloned object |
static java.util.ArrayList<java.lang.Class<?>> |
getType()
Get the treated as simple class arrayList |
static void |
treatClassAsSimpleType(java.lang.Class<?> clazz)
Treat the specified Class as a simple type |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeManager
public TypeManager()
treatClassAsSimpleType
public static void treatClassAsSimpleType(java.lang.Class<?> clazz)
- Treat the specified Class as a simple type
- Parameters:
clazz
-
cloneObject
public static java.lang.Object cloneObject(java.lang.Object obj)
throws java.lang.CloneNotSupportedException
- invoker the object clone method to get the cloned object
- Parameters:
obj
-
- Returns:
- Object
- Throws:
java.lang.CloneNotSupportedException
getType
public static java.util.ArrayList<java.lang.Class<?>> getType()
- Get the treated as simple class arrayList
- Returns:
- arrayList
(c) Copyright IBM Corporation 1998, 2011