Class LdapPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<LdapPersistentProperty>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<LdapPersistentProperty>
org.springframework.data.ldap.core.mapping.LdapPersistentProperty
- All Implemented Interfaces:
PersistentProperty<LdapPersistentProperty>
public class LdapPersistentProperty
extends AnnotationBasedPersistentProperty<LdapPersistentProperty>
LDAP-specific
AnnotationBasedPersistentProperty. By default, if a property is named id it's used as
Id property.- Since:
- 2.0.4
- Author:
- Mark Paluch
-
Constructor Summary
ConstructorsConstructorDescriptionLdapPersistentProperty(Property property, PersistentEntity<?, LdapPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Create a newLdapPersistentProperty. -
Method Summary
Methods inherited from class AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessMethods inherited from class AbstractPersistentProperty
equals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap, isReadableMethods inherited from interface PersistentProperty
getAccessorForOwner, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotation
-
Constructor Details
-
LdapPersistentProperty
public LdapPersistentProperty(Property property, PersistentEntity<?, LdapPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Create a newLdapPersistentProperty.- Parameters:
property- must not be null.owner- must not be null.simpleTypeHolder- must not be null.
-
-
Method Details
-
createAssociation
- Specified by:
createAssociationin classAbstractPersistentProperty<LdapPersistentProperty>
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdPropertyin interfacePersistentProperty<LdapPersistentProperty>- Overrides:
isIdPropertyin classAnnotationBasedPersistentProperty<LdapPersistentProperty>
-