public interface MongoPersistentEntity<T> extends PersistentEntity<T,MongoPersistentProperty>
PersistentEntity abstraction.| Type | Property and Description |
|---|---|
boolean |
hasTextScore
Returns whether the entity has a
TextScore property. |
hasIdProperty, hasVersionProperty| Modifier and Type | Method and Description |
|---|---|
String |
getCollection()
Returns the collection the entity shall be persisted to.
|
String |
getLanguage()
Returns the default language to be used for this entity.
|
MongoPersistentProperty |
getTextScoreProperty()
Returns the property holding text score value.
|
boolean |
hasTextScoreProperty()
Returns whether the entity has a
TextScore property. |
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionPropertyboolean hasTextScoreProperty
TextScore property.String getCollection()
String getLanguage()
MongoPersistentProperty getTextScoreProperty()
hasTextScoreProperty()boolean hasTextScoreProperty()
TextScore property.Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.