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