Spring Data Solr

org.springframework.data.solr.core.mapping
Interface SolrPersistentProperty

All Superinterfaces:
PersistentProperty<SolrPersistentProperty>
All Known Implementing Classes:
SimpleSolrPersistentProperty

public interface SolrPersistentProperty
extends PersistentProperty<SolrPersistentProperty>

Author:
Christoph Strobl

Nested Class Summary
static class SolrPersistentProperty.PropertyToFieldNameConverter
           
 
Method Summary
 boolean containsWildcard()
           
 String getFieldName()
          Get name of field under attention to Field annotation
 boolean isReadonly()
           
 
Methods inherited from interface org.springframework.data.mapping.PersistentProperty
findAnnotation, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isMap, isTransient, isVersionProperty, shallBePersisted
 

Method Detail

getFieldName

String getFieldName()
Get name of field under attention to Field annotation

Returns:

isReadonly

boolean isReadonly()
Returns:
true if Field is present and not marked Indexed.readonly() = true

containsWildcard

boolean containsWildcard()
Returns:
true if Field.value() contains *

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.