public interface MongoPersistentProperty extends PersistentProperty<MongoPersistentProperty>
PersistentProperty extension.| Type | Property and Description |
|---|---|
boolean |
isExplicitId
Gets the value of the property explicitIdProperty.
|
boolean |
isExplicitLanguage
Gets the value of the property explicitLanguageProperty.
|
boolean |
isLanguage
Gets the value of the property languageProperty.
|
boolean |
isTextScore
Gets the value of the property textScoreProperty.
|
isIdProperty, isVersionProperty| Modifier and Type | Interface and Description |
|---|---|
static class |
MongoPersistentProperty.PropertyToFieldNameConverter
Simple
Converter implementation to transform a MongoPersistentProperty into its field name. |
| Modifier and Type | Method and Description |
|---|---|
DBRef |
getDBRef()
Returns the
DBRef if the property is a reference. |
String |
getFieldName()
Returns the name of the field a property is persisted to.
|
int |
getFieldOrder()
Returns the order of the field if defined.
|
boolean |
isDbReference()
Returns whether the property is a
DBRef. |
boolean |
isExplicitIdProperty()
Gets the value of the property explicitIdProperty.
|
boolean |
isExplicitLanguageProperty()
Gets the value of the property explicitLanguageProperty.
|
boolean |
isLanguageProperty()
Gets the value of the property languageProperty.
|
boolean |
isTextScoreProperty()
Gets the value of the property textScoreProperty.
|
boolean |
usePropertyAccess()
Returns whether property access shall be used for reading the property value.
|
findAnnotation, 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, isIdProperty, isImmutable, isMap, isTransient, isVersionProperty, isWritableboolean isExplicitIdProperty
boolean isLanguageProperty
boolean isExplicitLanguageProperty
boolean isTextScoreProperty
String getFieldName()
int getFieldOrder()
boolean isDbReference()
DBRef. If this returns true you can expect
getDBRef() to return an non-null value.boolean isExplicitIdProperty()
boolean isLanguageProperty()
boolean isExplicitLanguageProperty()
boolean isTextScoreProperty()
@Nullable DBRef getDBRef()
DBRef if the property is a reference.isDbReference()boolean usePropertyAccess()
usePropertyAccess in interface PersistentProperty<MongoPersistentProperty>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.