org.ldaptive.beans
Annotation Type Attribute


@Retention(value=RUNTIME)
@Target(value=ANNOTATION_TYPE)
public @interface Attribute

Annotation to describe LDAP attribute data on a bean.

Version:
$Revision: 3000 $ $Date: 2014-06-11 14:08:42 -0400 (Wed, 11 Jun 2014) $
Author:
Middleware Services

Optional Element Summary
 boolean binary
          Whether this attribute is binary.
 String name
          Attribute name.
 String property
          Name of the method or field that maps to this attribute.
 org.ldaptive.SortBehavior sortBehavior
          Sort behavior for this attribute.
 String transcoder
          Transcoder for this attribute.
 String[] values
          Attribute values.
 

name

public abstract String name
Attribute name.

Default:
""

values

public abstract String[] values
Attribute values. Mutually exclusive with property().

Default:
{}

property

public abstract String property
Name of the method or field that maps to this attribute. Mutually exclusive with values().

Default:
""

binary

public abstract boolean binary
Whether this attribute is binary.

Default:
false

sortBehavior

public abstract org.ldaptive.SortBehavior sortBehavior
Sort behavior for this attribute.

Default:
org.ldaptive.SortBehavior.UNORDERED

transcoder

public abstract String transcoder
Transcoder for this attribute.

Default:
""


Copyright © 2003-2016 Virginia Tech. All Rights Reserved.