Package org.ldaptive.beans
Annotation Type Attribute
-
@Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface Attribute
Annotation to describe LDAP attribute data on a bean.- Author:
- Middleware Services
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
binary
Whether this attribute is binary.java.lang.String
name
Attribute name.java.lang.String
property
Name of the method or field that maps to this attribute.java.lang.String
transcoder
Transcoder for this attribute.java.lang.String[]
values
Attribute values.
-
-
-
-
values
java.lang.String[] values
Attribute values. Mutually exclusive withproperty()
.- Returns:
- concrete values for this attribute
- Default:
- {}
-
-
-
property
java.lang.String property
Name of the method or field that maps to this attribute. Mutually exclusive withvalues()
.- Returns:
- property that contains attribute values
- Default:
- ""
-
-