org.springframework.data.solr.core.mapping
Class SimpleSolrPersistentEntity<T>
java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity<T,SolrPersistentProperty>
org.springframework.data.solr.core.mapping.SimpleSolrPersistentEntity<T>
- Type Parameters:
T -
- All Implemented Interfaces:
- Aware, ApplicationContextAware, MutablePersistentEntity<T,SolrPersistentProperty>, PersistentEntity<T,SolrPersistentProperty>, SolrPersistentEntity<T>
public class SimpleSolrPersistentEntity<T>
- extends BasicPersistentEntity<T,SolrPersistentProperty>
- implements SolrPersistentEntity<T>, ApplicationContextAware
Solr specific PersistentEntity implementation holding eg. name of solr core
- Author:
- Christoph Strobl
| Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity |
addAssociation, addPersistentProperty, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty, returnPropertyIfBetterIdPropertyCandidateOrNull, verify |
| 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.mapping.PersistentEntity |
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, getIdProperty, getName, getPersistenceConstructor, getPersistentProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isConstructorArgument, isIdProperty, isVersionProperty |
SimpleSolrPersistentEntity
public SimpleSolrPersistentEntity(TypeInformation<T> typeInformation)
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext in interface ApplicationContextAware
- Throws:
BeansException
getSolrCoreName
public String getSolrCoreName()
- Specified by:
getSolrCoreName in interface SolrPersistentEntity<T>
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.