Example usage for Java org.springframework.data.mongodb.core.mapping MongoPersistentEntity fields, constructors, methods, implement or subclass
The text is from its open source code.
void | doWithAssociations(AssociationHandler handler) Applies the given AssociationHandler to all Association contained in this PersistentEntity . |
void | doWithProperties(PropertyHandler handler) Applies the given PropertyHandler to all PersistentProperty s contained in this PersistentEntity . |
String | getCollection() Returns the collection the entity shall be persisted to. |
P | getIdProperty() Returns the id property of the PersistentEntity . |
Class | getType() Returns the resolved Java type of this entity. |
boolean | isIdProperty(PersistentProperty> property) Returns whether the given PersistentProperty is the id property of the entity. |