Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.beasys.commerce.util
Class CloneHelper

    java.lang.Object
      com.beasys.commerce.util.CloneHelper

public class CloneHelper
extends Object

Helper for cloning. Allows cloning of the Object class, when you don't know the class of the target object

Constructor Summary
`CloneHelper()`

Method Summary
`static Belonging` | `clone(Belonging that)` Return a clone of a belonging
`static Collection` | `clone(Collection collection)` return a deep copy of a collection
`static Map` | `clone(Map map)` return a deep copy of a map
`static Object` | `clone(Object that)` Clones an object

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CloneHelper

    public CloneHelper()

Method Detail

### clone

    public static Belonging clone(Belonging that)

  Return a clone of a belonging

### clone

    public static Collection clone(Collection collection)

  return a deep copy of a collection

### clone

    public static Map clone(Map map)

  return a deep copy of a map

### clone

    public static Object clone(Object that)

  Clones an object

  Parameters:
    `that` - source object to be cloned
  Throws:
    `CloneNotSupportedException` - the target object does not support cloning
    `Error` - unrecoverable error during reflection

Overview | Package | Class | Tree | Deprecated | Index | Help
| © 2004 BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 BEA Systems, Inc. All Rights Reserved