Module org.eclipse.persistence.core
Annotation Type CopyPolicy
A CopyPolicy is used to set an
org.eclipse.persistence.descriptors.copying.CopyPolicy on an Entity.
It is required that a class that
implements org.eclipse.persistence.descriptors.copying.CopyPolicy
be specified as the argument.
A CopyPolicy should be specified on an Entity, MappedSuperclass or
Embeddable.
For instance:
@Entity
@CopyPolicy("example.MyCopyPolicy")
- See Also:
-
Required Element Summary
-
Element Details
-
value
Class<?> value(Required) This defines the class of the copy policy. It must specify a class that implements org.eclipse.persistence.descriptors.copying.CopyPolicy
-