public class LdapPersistentProperty extends AnnotationBasedPersistentProperty<LdapPersistentProperty>
AnnotationBasedPersistentProperty
. By default, if a property is named id
it's used as
Id property.Type | Property and Description |
---|---|
boolean |
isId
Gets the value of the property idProperty.
|
isVersionProperty
Constructor and Description |
---|
LdapPersistentProperty(Property property,
PersistentEntity<?,LdapPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
Create a new
LdapPersistentProperty . |
Modifier and Type | Method and Description |
---|---|
protected Association<LdapPersistentProperty> |
createAssociation() |
boolean |
isIdProperty()
Gets the value of the property idProperty.
|
findAnnotation, findPropertyOrOwnerAnnotation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getProperty, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMap
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getPersistentEntityTypes, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter
public boolean isIdProperty
isIdProperty
in interface PersistentProperty<LdapPersistentProperty>
isIdProperty
in class AnnotationBasedPersistentProperty<LdapPersistentProperty>
public LdapPersistentProperty(Property property, PersistentEntity<?,LdapPersistentProperty> owner, SimpleTypeHolder simpleTypeHolder)
LdapPersistentProperty
.property
- must not be null.owner
- must not be null.simpleTypeHolder
- must not be null.protected Association<LdapPersistentProperty> createAssociation()
createAssociation
in class AbstractPersistentProperty<LdapPersistentProperty>
public boolean isIdProperty()
isIdProperty
in interface PersistentProperty<LdapPersistentProperty>
isIdProperty
in class AnnotationBasedPersistentProperty<LdapPersistentProperty>
Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.