All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ldaptive.beans.Entry Maven / Gradle / Ivy

Go to download

Mapping, persistence, and code generation API for reading and writing POJOs to an LDAP directory

The newest version!
/* See LICENSE for licensing and NOTICE for copyright. */
package org.ldaptive.beans;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation to describe an LDAP entry on a bean.
 *
 * @author  Middleware Services
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Entry
{

  /**
   * Entry DN.
   *
   * @return  dn of this entry
   */
  String dn();

  /**
   * Entry attributes.
   *
   * @return  attributes
   */
  Attribute[] attributes() default {};
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy