public class BasicCouchbasePersistentProperty extends AnnotationBasedPersistentProperty<CouchbasePersistentProperty> implements CouchbasePersistentProperty
Field instance.
This object is used to gather information out of properties on objects that need to be persisted. For example, it supports overriding of the actual property name by providing custom annotations.
| Type | Property and Description |
|---|---|
boolean |
isId
Gets the value of the property idProperty.
|
isVersionPropertyisVersionProperty| Constructor and Description |
|---|
BasicCouchbasePersistentProperty(Property property,
CouchbasePersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder,
FieldNamingStrategy fieldNamingStrategy)
Create a new instance of the BasicCouchbasePersistentProperty class.
|
| Modifier and Type | Method and Description |
|---|---|
protected Association<CouchbasePersistentProperty> |
createAssociation()
Creates a new Association.
|
String |
getFieldName()
Returns the field name of the property.
|
boolean |
isIdProperty()
Gets the value of the property idProperty.
|
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccesspublic boolean isIdProperty
isIdProperty in interface PersistentProperty<CouchbasePersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<CouchbasePersistentProperty>public BasicCouchbasePersistentProperty(Property property, CouchbasePersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder, FieldNamingStrategy fieldNamingStrategy)
property - the PropertyDescriptor.owner - the original owner of the property.simpleTypeHolder - the type holder.protected Association<CouchbasePersistentProperty> createAssociation()
createAssociation in class AbstractPersistentProperty<CouchbasePersistentProperty>public String getFieldName()
getFieldName in interface CouchbasePersistentPropertypublic boolean isIdProperty()
isIdProperty in interface PersistentProperty<CouchbasePersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<CouchbasePersistentProperty>Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.