Class Neo4jManagedTypes
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 Neo4jManagedTypes
empty()
Factory method to return an emptyNeo4jManagedTypes
object.void
static Neo4jManagedTypes
Factory method used to constructNeo4jManagedTypes
from the given array oftypes
.static Neo4jManagedTypes
from
(ManagedTypes managedTypes) Wraps an existingManagedTypes
object withNeo4jManagedTypes
.static Neo4jManagedTypes
fromIterable
(Iterable<? extends Class<?>> types) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.domain.ManagedTypes
toList
-
Method Details
-
from
Wraps an existingManagedTypes
object withNeo4jManagedTypes
. -
from
Factory method used to constructNeo4jManagedTypes
from the given array oftypes
.- Parameters:
types
- array oftypes
used to initialize theManagedTypes
; must not be null.- Returns:
- new instance of
Neo4jManagedTypes
initialized fromtypes
.
-
fromIterable
- Parameters:
types
-Iterable
oftypes
used to initialize theManagedTypes
; must not be null.- Returns:
- new instance of
Neo4jManagedTypes
initialized the given, requiredIterable
oftypes
.
-
empty
Factory method to return an emptyNeo4jManagedTypes
object.- Returns:
- an empty
Neo4jManagedTypes
object.
-
forEach
- Specified by:
forEach
in interfaceManagedTypes
-