Annotation Type Attribute
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringnameThe LDAP attribute name that this field represents.booleanreadonlyA boolean parameter to indicate if the attribute should be read only.java.lang.StringsyntaxThe LDAP syntax of the attribute that this field represents.Attribute.TypetypeIndicates whether this field is returned by the LDAP JNDI provider as aString(Type.STRING) or as abyte[](Type.BINARY).
-
-
-
-
type
Attribute.Type type
Indicates whether this field is returned by the LDAP JNDI provider as aString(Type.STRING) or as abyte[](Type.BINARY).- Returns:
- Either
Type.STRINGto indicate a string attribute orType.BINARYto indicate a binary attribute.
- Default:
- org.springframework.ldap.odm.annotations.Attribute.Type.STRING
-
-
-
syntax
java.lang.String syntax
The LDAP syntax of the attribute that this field represents.This optional value is typically used to affect the precision of conversion of values between LDAP and Java, see
ConverterManagerandConverterManagerImpl.- Returns:
- The LDAP syntax of this attribute.
- Default:
- ""
-
-
-
readonly
boolean readonly
A boolean parameter to indicate if the attribute should be read only.This value allows attributes to be read on read, but not persisted, there are many operational and read-only ldap attributes which will throw errors if they are persisted back to ldap.
- Returns:
trueis the attribute should not be written to ldap.
- Default:
- false
-
-