Annotation Type Entry


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface Entry
    This annotation marks a Java class to be persisted in an LDAP directory.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String[] objectClasses
      A list of LDAP object classes that the annotated Java class represents.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String base
      The base DN of this entry.
    • Element Detail

      • objectClasses

        java.lang.String[] objectClasses
        A list of LDAP object classes that the annotated Java class represents.

        All fields will be persisted to LDAP unless annotated Transient.

        Returns:
        A list of LDAP classes which the annotated Java class represents.
      • base

        java.lang.String base
        The base DN of this entry. If specified, this will be prepended to all calculated distinguished names for entries of the annotated class.
        Returns:
        the base DN for entries of this class
        Default:
        ""