|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.slim3.commons.beanutil.BeanUtil
public final class BeanUtil
A utility class for bean.
Method Summary | ||
---|---|---|
static Copy |
copy(Object src,
Object dest)
Creates a Copy instance. |
|
static
|
createAndCopy(Class<T> destClass,
Object src)
Creates a CreateAndCopy instance. |
|
static BeanDesc |
getBeanDesc(Class<?> beanClass)
Returns the bean descriptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static BeanDesc getBeanDesc(Class<?> beanClass)
beanClass
- the bean class
public static Copy copy(Object src, Object dest)
Copy
instance.
src
- the sourcedest
- the destination
Copy
instancepublic static <T> CreateAndCopy<T> createAndCopy(Class<T> destClass, Object src)
CreateAndCopy
instance.
T
- the destination typedestClass
- the destination classsrc
- the source
CreateAndCopy
instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |