public class CloneableBean
extends java.lang.Object
It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, Cloneable objects and multi-dimensional arrays of any of them.
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
beanClone(java.lang.Object obj,
java.util.Set<java.lang.String> ignoreProperties)
Makes a deep bean clone of the object passed in the constructor.
|
public static java.lang.Object beanClone(java.lang.Object obj,
java.util.Set<java.lang.String> ignoreProperties)
throws java.lang.CloneNotSupportedException
To be used by classes using CloneableBean in a delegation pattern,
java.lang.CloneNotSupportedException - thrown if the object bean could not be cloned.Copyright © 2025. All rights reserved.