T - public interface SolrPersistentEntity<T> extends PersistentEntity<T,SolrPersistentProperty>
| Type | Property and Description |
|---|---|
boolean |
hasScore
Returns whether the
SolrPersistentEntity has an score property. |
hasIdProperty, hasVersionProperty| Modifier and Type | Method and Description |
|---|---|
String |
getCollectionName()
Get the core's name for this entity.
|
SolrPersistentProperty |
getPersistentProperty(String name) |
SolrPersistentProperty |
getScoreProperty()
Returns the score property of the
SolrPersistentEntity. |
boolean |
hasScoreProperty()
Returns whether the
SolrPersistentEntity has an score property. |
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulationforEach, iterator, spliteratorboolean hasScoreProperty
SolrPersistentEntity has an score property. If this call returns true,
getScoreProperty() will return a non-null value.String getCollectionName()
boolean hasScoreProperty()
SolrPersistentEntity has an score property. If this call returns true,
getScoreProperty() will return a non-null value.@Nullable SolrPersistentProperty getScoreProperty()
SolrPersistentEntity. Can be null in case no score property is
available on the entity.SolrPersistentProperty of the PersistentEntity or null if not defined.@Nullable SolrPersistentProperty getPersistentProperty(String name)
getPersistentProperty in interface PersistentEntity<T,SolrPersistentProperty>Copyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.