org.eclipse.persistence.annotations
Annotation Type InstantiationCopyPolicy
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface InstantiationCopyPolicy
An InstantiationCopyPolicy is used to set an
org.eclipse.persistence.descriptors.copying.InstantiationCopyPolicy on an
Entity.
InstantiationCopyPolicy is the default CopyPolicy if weaving is not used,
or if property access is used.
A special CloneCopyPolicy is used if weaving and field access is used.
An InstantiationCopyPolicy should be specified on an Entity,
MappedSuperclass or Embeddable.
Example:
- See Also:
InstantiationCopyPolicy
,
CloneCopyPolicy
,
CopyPolicy
- Author:
- tware