public class BasicCouchbasePersistentProperty extends AnnotationBasedPersistentProperty<CouchbasePersistentProperty> implements CouchbasePersistentProperty
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.
isIdProperty, isVersionPropertyisIdProperty, isVersionPropertyassociation, field, information, name, owner, propertyDescriptor, rawType| Constructor and Description |
|---|
BasicCouchbasePersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
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.
|
findAnnotation, findPropertyOrOwnerAnnotation, getSpelExpression, isAnnotationPresent, isAssociation, isIdProperty, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccesspublic BasicCouchbasePersistentProperty(Field field, PropertyDescriptor propertyDescriptor, CouchbasePersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder, FieldNamingStrategy fieldNamingStrategy)
field - the field of the original reflection.propertyDescriptor - 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 CouchbasePersistentPropertyCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.