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 booleanbinaryWhether this attribute is binary.StringnameAttribute name.StringpropertyName of the method or field that maps to this attribute.StringtranscoderTranscoder for this attribute.String[]valuesAttribute 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:
- ""
-
-