Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.annotations
Annotation Type CopyPolicy


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface 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:

Author:
tware
See Also:
CopyPolicy, CloneCopyPolicy, InstantiationCopyPolicy

Required Element Summary
 java.lang.Class value
          (Required) This defines the class of the copy policy.

 

Element Detail

value

public abstract java.lang.Class value
(Required) This defines the class of the copy policy. It must specify a class that implements org.eclipse.persistence.descriptors.copying.CopyPolicy

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.