|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=FIELD) @Retention(value=RUNTIME) public @interface DnAttribute
Indicates that a field is to be automatically populated to/from the distinguished name of an entry. Fields annotated with this annotation will be automatically populated with values from the distinguished names of found entries.
For automatic calculation of the DN of an entry to work, the index()
value
must be specified on all DnAttribute annotations in that class, and these attribute values,
prepended with the Entry.base()
value will be used
to figure out the distinguished name of entries to create and update.
Required Element Summary | |
---|---|
String |
value
The name of the distinguished name attribute. |
Optional Element Summary | |
---|---|
int |
index
The index of this attribute in the calculated distinguished name of an entry. |
Element Detail |
---|
public abstract String value
public abstract int index
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |