java.lang.Object
org.springframework.data.neo4j.aot.Neo4jManagedTypes
- All Implemented Interfaces:
ManagedTypes
- Since:
- 7.0.0
- Author:
- Gerrit Meier
-
Method Summary
Modifier and TypeMethodDescriptionstatic Neo4jManagedTypesempty()Factory method to return an emptyNeo4jManagedTypesobject.voidstatic Neo4jManagedTypesFactory method used to constructNeo4jManagedTypesfrom the given array oftypes.static Neo4jManagedTypesfrom(ManagedTypes managedTypes) Wraps an existingManagedTypesobject withNeo4jManagedTypes.static Neo4jManagedTypesfromIterable(Iterable<? extends Class<?>> types) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.domain.ManagedTypes
toList
-
Method Details
-
from
Wraps an existingManagedTypesobject withNeo4jManagedTypes. -
from
Factory method used to constructNeo4jManagedTypesfrom the given array oftypes.- Parameters:
types- array oftypesused to initialize theManagedTypes; must not be null.- Returns:
- new instance of
Neo4jManagedTypesinitialized fromtypes.
-
fromIterable
- Parameters:
types-Iterableoftypesused to initialize theManagedTypes; must not be null.- Returns:
- new instance of
Neo4jManagedTypesinitialized the given, requiredIterableoftypes.
-
empty
Factory method to return an emptyNeo4jManagedTypesobject.- Returns:
- an empty
Neo4jManagedTypesobject.
-
forEach
- Specified by:
forEachin interfaceManagedTypes
-