|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.mapping.context.PersistentEntities
public class PersistentEntities
Value object to access PersistentEntity instances managed by MappingContexts.
| Constructor Summary | |
|---|---|
PersistentEntities(Iterable<? extends MappingContext<?,?>> contexts)
Creates a new PersistentEntities for the given MappingContexts. |
|
| Method Summary | |
|---|---|
Iterable<TypeInformation<?>> |
getManagedTypes()
Returns all TypeInformation exposed by the registered MappingContexts. |
PersistentEntity<?,?> |
getPersistentEntity(Class<?> type)
Returns the PersistentEntity for the given type. |
Iterator<PersistentEntity<?,?>> |
iterator()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistentEntities(Iterable<? extends MappingContext<?,?>> contexts)
PersistentEntities for the given MappingContexts.
contexts - | Method Detail |
|---|
public PersistentEntity<?,?> getPersistentEntity(Class<?> type)
PersistentEntity for the given type. Will consider all MappingContexts registered but
return null in case none of the registered ones already have a PersistentEntity registered for
the given type.
type - can be null.
public Iterable<TypeInformation<?>> getManagedTypes()
TypeInformation exposed by the registered MappingContexts.
public Iterator<PersistentEntity<?,?>> iterator()
iterator in interface Iterable<PersistentEntity<?,?>>
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||