Class ObjectUtils

java.lang.Object
de.iip_ecosphere.platform.support.ObjectUtils

public class ObjectUtils extends Object
Object utilities.
Author:
Holger Eichelberger, SSE
  • Constructor Details

    • ObjectUtils

      public ObjectUtils()
  • Method Details

    • copyFields

      public static void copyFields(Object source, Object target) throws ExecutionException
      Copies all fields from the source to the target object.
      Parameters:
      source - the source object
      target - the target object
      Throws:
      ExecutionException - if copying fails
    • copyFieldsSafe

      public static void copyFieldsSafe(Object source, Object target)
      Copies all fields from the source to the target object. Logs errors/exceptions.
      Parameters:
      source - the source object
      target - the target object