@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface LDAPObject
LDAPField annotation type.| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String[] |
auxiliaryClass
The name) of any auxiliary object classes for LDAP entries created from the
associated object type.
|
java.lang.String |
defaultParentDN
The DN of the entry below which objects of this type will be created if no
alternate parent DN is specified.
|
java.lang.String |
postDecodeMethod
The name of a method that should be invoked on an object after all other
decode processing has been performed for that object.
|
java.lang.String |
postEncodeMethod
The name of a method that should be invoked after an object has been
encoded to an LDAP entry.
|
boolean |
requestAllAttributes
Indicates whether to request all attributes when performing searches to
retrieve objects of this type.
|
java.lang.String |
structuralClass
The name of the structural object class for LDAP entries created from the
associated object type.
|
java.lang.String[] |
superiorClass
The names of any superior object classes for the structural and auxiliary
object classes that should be included in generated entries.
|
public abstract boolean requestAllAttributes
true, then the search
request will attempt to retrieve all user and operational attributes. If
this is false, then the search request will attempt to retrieve
only those attributes which are referenced by an LDAPField or
LDAPSetter annotation. Note that if this is given a value of
true, then lazy loading will be disabled.true if all attributes should be requested, or
false if only referenced attributes should be requested.@NotNull public abstract java.lang.String defaultParentDN
LDAPObject annotation type does not
specify a default parent DN but is a direct subclass of another class
marked with LDAPObject, then the subclass will inherit the default
parent DN from the superclass.@NotNull public abstract java.lang.String postDecodeMethod
@NotNull public abstract java.lang.String postEncodeMethod
Entry. It may throw any kind of exception
if a problem is found with the entry and it should not be used.@NotNull public abstract java.lang.String structuralClass
@NotNull public abstract java.lang.String[] auxiliaryClass
@NotNull public abstract java.lang.String[] superiorClass