com.unboundid.ldap.sdk.persist
Annotation Type LDAPEntryField


@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface LDAPEntryField

This annotation type may be used to mark a field whose value should be the full entry from which the corresponding object was initialized. This annotation type should only be used for at most one field in a given class, and that class must be marked with the LDAPObject annotation type. The field marked with this annotation type must have a type of ReadOnlyEntry. Objects which may be altered using modify operations through the persistence framework should contain a field with this annotation to make it possible to accurately determine exactly what changes need to be made to the entry in the directory.