Class ObjectUtils
java.lang.Object
de.iip_ecosphere.platform.support.ObjectUtils
Object utilities.
- Author:
- Holger Eichelberger, SSE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyFields(Object source, Object target) Copies all fields from thesourceto thetargetobject.static voidcopyFieldsSafe(Object source, Object target) Copies all fields from thesourceto thetargetobject.
-
Constructor Details
-
ObjectUtils
public ObjectUtils()
-
-
Method Details
-
copyFields
Copies all fields from thesourceto thetargetobject.- Parameters:
source- the source objecttarget- the target object- Throws:
ExecutionException- if copying fails
-
copyFieldsSafe
Copies all fields from thesourceto thetargetobject. Logs errors/exceptions.- Parameters:
source- the source objecttarget- the target object
-