Package com.emc.documentum.rest.dfc.conversion

# Class AttributesCopier

java.lang.Object
com.emc.documentum.rest.dfc.conversion.AttributesCopier

public final class AttributesCopier extends Object
This is a utility, which copies all the attributes from source `PersistentObject` to target one

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static com.documentum.fc.client.IDfPersistentObject`
  `copy(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject)`
  Copies attributes from sourceObject to targetObject
  `static String`
  `copyAttributesToParamURL(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject, String paramURL)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### copy

    public static com.documentum.fc.client.IDfPersistentObject copy(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject) throws com.documentum.fc.common.DfException
    Copies attributes from sourceObject to targetObject
    Parameters:
      `sourceObject` - the source object to be copied
      `targetObject` - the target object
    Returns:
      targetObject with copied attributes
    Throws:
      `com.documentum.fc.common.DfException` - exception during the operation

  - ### copyAttributesToParamURL

    public static String copyAttributesToParamURL(PersistentObject sourceObject, com.documentum.fc.client.IDfPersistentObject targetObject, String paramURL) throws com.documentum.fc.common.DfException
    Throws:
      `com.documentum.fc.common.DfException`