|
Spring Data Document | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MongoPersistentEntity<T>
MongoDB specific PersistentEntity abstraction.
| Method Summary | |
|---|---|
String |
getCollection()
Returns the collection the entity shall be persisted to. |
MongoPersistentProperty |
getVersionProperty()
Returns the MongoPersistentProperty that represents the version attribute of an entity. |
boolean |
hasVersionProperty()
Returns whether the entity has a property representing the version of the entity. |
| Methods inherited from interface org.springframework.data.mapping.PersistentEntity |
|---|
doWithAssociations, doWithProperties, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getType, getTypeAlias, getTypeInformation, isConstructorArgument, isIdProperty |
| Method Detail |
|---|
String getCollection()
MongoPersistentProperty getVersionProperty()
MongoPersistentProperty that represents the version attribute of an entity. Will not be
null if hasVersionProperty().
boolean hasVersionProperty()
|
Spring Data Document | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||