public interface EntityInformationCreator
EntityInformationCreator
for a given Class
.Modifier and Type | Method and Description |
---|---|
<T,ID extends Serializable> |
getEntityInformation(Class<T> domainClass)
Returns a
MongoEntityInformation for the given domain class. |
<T,ID extends Serializable> |
getEntityInformation(Class<T> domainClass,
Class<?> collectionClass)
Returns a
MongoEntityInformation for the given domain class and class to retrieve the collection to query
against from. |
<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.Copyright © 2012. All Rights Reserved.