public class BeanUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
TO_STR_DEL |
static String |
TO_STR_KEY_VAL |
static String |
TO_STR_OBJ_END |
static String |
TO_STR_OBJ_START |
static String |
TO_STR_SET_END |
static String |
TO_STR_SET_START |
| Constructor and Description |
|---|
BeanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFields(Object source,
Object target,
boolean merge)
Copies fields marked with the
CloneField annotation from the given
source to the given target, check that the value is not null if merge is true. |
static String |
toString(Object object)
Builds the JSON toString of the given object through methods
annotated with
ToStringProperty. |
public static final String TO_STR_KEY_VAL
public static final String TO_STR_OBJ_START
public static final String TO_STR_OBJ_END
public static final String TO_STR_SET_START
public static final String TO_STR_SET_END
public static final String TO_STR_DEL
public static void copyFields(Object source, Object target, boolean merge)
CloneField annotation from the given
source to the given target, check that the value is not null if merge is true.source - target - merge - public static String toString(Object object)
ToStringProperty.
We can't rely on a framework here because we need full serialization for messaging.
object - Copyright © 2017 Alfresco Software. All rights reserved.