public class CachingMongoPersistentProperty extends BasicMongoPersistentProperty
Type | Property and Description |
---|---|
boolean |
isId
Also considers fields as id that are of supported id type and name.
|
isExplicitIdProperty, isLanguageProperty, isTextScoreProperty
isVersionProperty
isVersionProperty
MongoPersistentProperty.PropertyToFieldNameConverter
association, field, information, name, owner, propertyDescriptor, rawType
Constructor and Description |
---|
CachingMongoPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
MongoPersistentEntity<?> owner,
SimpleTypeHolder simpleTypeHolder,
FieldNamingStrategy fieldNamingStrategy)
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, isExplicitIdProperty, isLanguageProperty, isTextScoreProperty
findAnnotation, findPropertyOrOwnerAnnotation, getSpelExpression, isAnnotationPresent, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMap, shallBePersisted
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
usePropertyAccess
findAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isCollectionLike, isEntity, isMap, isTransient, isVersionProperty, isWritable, shallBePersisted
isIdProperty
in interface PersistentProperty<MongoPersistentProperty>
isIdProperty
in class BasicMongoPersistentProperty
BasicMongoPersistentProperty.SUPPORTED_ID_PROPERTY_NAMES
,
BasicMongoPersistentProperty.SUPPORTED_ID_TYPES
public CachingMongoPersistentProperty(Field field, PropertyDescriptor propertyDescriptor, MongoPersistentEntity<?> owner, SimpleTypeHolder simpleTypeHolder, FieldNamingStrategy fieldNamingStrategy)
CachingMongoPersistentProperty
.field
- propertyDescriptor
- owner
- simpleTypeHolder
- fieldNamingStrategy
- public boolean isIdProperty()
BasicMongoPersistentProperty
isIdProperty
in interface PersistentProperty<MongoPersistentProperty>
isIdProperty
in class BasicMongoPersistentProperty
BasicMongoPersistentProperty.SUPPORTED_ID_PROPERTY_NAMES
,
BasicMongoPersistentProperty.SUPPORTED_ID_TYPES
public boolean isAssociation()
isAssociation
in interface PersistentProperty<MongoPersistentProperty>
isAssociation
in class AnnotationBasedPersistentProperty<MongoPersistentProperty>
public String getFieldName()
BasicMongoPersistentProperty
DBObject
.getFieldName
in interface MongoPersistentProperty
getFieldName
in class BasicMongoPersistentProperty
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.