Class RelationalManagedTypes
java.lang.Object
org.springframework.data.relational.RelationalManagedTypes
- All Implemented Interfaces:
ManagedTypes
Relational-specific extension to
ManagedTypes.- Since:
- 3.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionstatic RelationalManagedTypesempty()Factory method to return an emptyRelationalManagedTypesobject.voidstatic RelationalManagedTypesFactory method used to constructRelationalManagedTypesfrom the given array oftypes.static RelationalManagedTypesfrom(ManagedTypes managedTypes) Wraps an existingManagedTypesobject withRelationalManagedTypes.static RelationalManagedTypesfromIterable(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 withRelationalManagedTypes.- Parameters:
managedTypes-- Returns:
-
from
Factory method used to constructRelationalManagedTypesfrom the given array oftypes.- Parameters:
types- array oftypesused to initialize theManagedTypes; must not be null.- Returns:
- new instance of
RelationalManagedTypesinitialized fromtypes.
-
fromIterable
- Parameters:
types-Iterableoftypesused to initialize theManagedTypes; must not be null.- Returns:
- new instance of
RelationalManagedTypesinitialized the given, requiredIterableoftypes.
-
empty
Factory method to return an emptyRelationalManagedTypesobject.- Returns:
- an empty
RelationalManagedTypesobject.
-
forEach
- Specified by:
forEachin interfaceManagedTypes
-