View Javadoc

1   package net.sf.jldapbeans.lang.annotation;
2   
3   import java.lang.annotation.Documented;
4   import java.lang.annotation.ElementType;
5   import java.lang.annotation.Retention;
6   import java.lang.annotation.RetentionPolicy;
7   import java.lang.annotation.Target;
8   
9   /***
10   * Identifies a class as a <tt>LdapBean</tt> declaration.
11   *
12   * @author <a href="mailto:alonsoft@users.sf.net">A. Alonso Domínguez</a>
13   * @version 1.0 $ Revision 31-oct-2005 :: alonso $
14   */
15  @Documented
16  @Retention(RetentionPolicy.RUNTIME)
17  @Target(ElementType.TYPE)
18  public @interface LdapBean {
19  	public static final String UNDEFINED = "[undefined]";
20  		
21  	/***
22  	 * <tt>objectClass</tt>es names of the LDAP bean.
23  	 * 
24  	 * @return The LDAP bean <tt>objectClass</tt>
25  	 */
26  	public String[] name() default UNDEFINED;
27  	
28  	/***
29  	 * Type of the <tt>LdapBean</tt>
30  	 * 
31  	 * @return
32  	 */
33  	public LdapModifier value() default LdapModifier.STRUCTURAL;
34  	
35  }