public enum AutoCloneStyle extends Enum<AutoCloneStyle>
@AutoClone annotation.AutoClone| Enum Constant and Description | 
|---|
CLONE
Uses only cloning. 
 | 
COPY_CONSTRUCTOR
Uses the copy constructor pattern. 
 | 
SERIALIZATION
Uses serialization to clone. 
 | 
SIMPLE
Uses the no-arg constructor followed by property/field copying/cloning. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static AutoCloneStyle | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static AutoCloneStyle[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final AutoCloneStyle CLONE
public static final AutoCloneStyle SIMPLE
public static final AutoCloneStyle COPY_CONSTRUCTOR
public static final AutoCloneStyle SERIALIZATION
public static AutoCloneStyle[] values()
for (AutoCloneStyle c : AutoCloneStyle.values()) System.out.println(c);
public static AutoCloneStyle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null