Example usage for Java org.springframework.data.mapping PersistentEntity 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 | doWithAssociations(SimpleAssociationHandler handler) |
void | doWithProperties(PropertyHandler handler) Applies the given PropertyHandler to all PersistentProperty s contained in this PersistentEntity . |
void | doWithProperties(SimplePropertyHandler handler) |
IdentifierAccessor | getIdentifierAccessor(Object bean) Returns the IdentifierAccessor for the given bean. |
P | getIdProperty() Returns the id property of the PersistentEntity . |
String | getName() The entity name including any package prefix. |
P | getPersistentProperty(String name) Obtains a PersistentProperty instance by name. |
P | getPersistentProperty(Class extends Annotation> annotationType) Returns the first property equipped with an Annotation of the given type. |
PersistentPropertyAccessor | getPropertyAccessor(B bean) Returns a PersistentPropertyAccessor to access property values of the given bean. |
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. |