public class CachingMongoPersistentProperty extends BasicMongoPersistentProperty
| Type | Property and Description |
|---|---|
boolean |
isId
Also considers fields as id that are of supported id type and name.
|
isVersionPropertyisVersionPropertyMongoPersistentProperty.PropertyToFieldNameConverterassociation, field, information, name, owner, propertyDescriptor, rawType| Constructor and Description |
|---|
CachingMongoPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
MongoPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder)
Creates a new
CachingMongoPersistentProperty. |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName()
Returns the key to be used to store the value of the property inside a Mongo
DBObject. |
boolean |
isAssociation() |
boolean |
isIdProperty()
Also considers fields as id that are of supported id type and name.
|
createAssociation, getDBRef, getFieldOrder, isDbReference, usePropertyAccessfindAnnotation, getSpelExpression, isAnnotationPresent, isTransient, isVersionProperty, toStringequals, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMap, shallBePersistedclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isArray, isCollectionLike, isEntity, isMap, isTransient, isVersionProperty, shallBePersistedisIdProperty in interface PersistentProperty<MongoPersistentProperty>isIdProperty in class BasicMongoPersistentPropertyBasicMongoPersistentProperty.SUPPORTED_ID_PROPERTY_NAMES,
BasicMongoPersistentProperty.SUPPORTED_ID_TYPESpublic CachingMongoPersistentProperty(Field field, PropertyDescriptor propertyDescriptor, MongoPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder)
CachingMongoPersistentProperty.field - propertyDescriptor - owner - simpleTypeHolder - public boolean isIdProperty()
BasicMongoPersistentPropertyisIdProperty in interface PersistentProperty<MongoPersistentProperty>isIdProperty in class BasicMongoPersistentPropertyBasicMongoPersistentProperty.SUPPORTED_ID_PROPERTY_NAMES,
BasicMongoPersistentProperty.SUPPORTED_ID_TYPESpublic boolean isAssociation()
isAssociation in interface PersistentProperty<MongoPersistentProperty>isAssociation in class BasicMongoPersistentPropertypublic String getFieldName()
BasicMongoPersistentPropertyDBObject.getFieldName in interface MongoPersistentPropertygetFieldName in class BasicMongoPersistentPropertyCopyright © 2011-2013-2013 SpringSource. All Rights Reserved.