Java org.springframework.data.mongodb.core.mapping MongoPersistentEntity fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.data.mongodb.core.mapping MongoPersistentEntity fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.data.mongodb.core.mapping MongoPersistentEntity.

The text is from its open source code.

Method

voiddoWithAssociations(AssociationHandler

handler)
Applies the given AssociationHandler to all Association contained in this PersistentEntity .

voiddoWithProperties(PropertyHandler

handler)
Applies the given PropertyHandler to all PersistentProperty s contained in this PersistentEntity .

StringgetCollection()
Returns the collection the entity shall be persisted to.
PgetIdProperty()
Returns the id property of the PersistentEntity .
ClassgetType()
Returns the resolved Java type of this entity.
booleanisIdProperty(PersistentProperty property)
Returns whether the given PersistentProperty is the id property of the entity.