Class IdFieldFinder
java.lang.Object
software.xdev.spring.data.eclipse.store.repository.support.IdFieldFinder
-
Method Summary
Modifier and TypeMethodDescriptionfindIdField(Class<?> domainClass) Finds any field in a class with an ID-Annotation (IdorId).
-
Method Details
-
findIdField
Finds any field in a class with an ID-Annotation (IdorId). Finds this field recursively in the Hierarchy-tree.- Returns:
- field with ID-Annotation. Is
Optional.empty()if no field was found.
-