@Retention(value=CLASS)
@Target(value=TYPE)
public @interface CarbonCopy
If a name is specified, a class with that name will be created, otherwise a class with a name POJO appended to this class will be created
Modifier and Type | Optional Element and Description |
---|---|
boolean |
generateSetters
Whether to add setter method to the generated copy.
|
java.lang.String[] |
ignoredFields
Array of fields to be ignored if any
This can also be specified using
CarbonCopyAccessor |
java.lang.String |
name
Specifies the name for the CarbonCopy class to be created.
|
public abstract java.lang.String name
public abstract java.lang.String[] ignoredFields
CarbonCopyAccessor