|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EntityInformationCreator
Interface for components being able to provide EntityInformationCreator
for a given Class
.
Method Summary | ||
---|---|---|
|
getEntityInformation(Class<T> domainClass)
Returns a MongoEntityInformation for the given domain class. |
|
|
getEntityInformation(Class<T> domainClass,
Class<?> collectionClass)
Returns a MongoEntityInformation for the given domain class and class to retrieve the collection to query
against from. |
Method Detail |
---|
<T,ID extends Serializable> MongoEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
MongoEntityInformation
for the given domain class.
domainClass
- the domain class to create the MongoEntityInformation
for, must not be null.
<T,ID extends Serializable> MongoEntityInformation<T,ID> getEntityInformation(Class<T> domainClass, Class<?> collectionClass)
MongoEntityInformation
for the given domain class and class to retrieve the collection to query
against from.
domainClass
- the domain class to create the MongoEntityInformation
for, must not be null.collectionClass
- the class to derive the collection from queries to retrieve the domain classes from shall be
ran against, must not be null.
|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |