org.springframework.data.solr.core.mapping
Class SimpleSolrPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<SolrPersistentProperty>
org.springframework.data.solr.core.mapping.SimpleSolrPersistentProperty
- All Implemented Interfaces:
- PersistentProperty<SolrPersistentProperty>, SolrPersistentProperty
public class SimpleSolrPersistentProperty
- extends AnnotationBasedPersistentProperty<SolrPersistentProperty>
- implements SolrPersistentProperty
Solr specific PersistentProperty implementation processing taking
Field into account
- Author:
- Christoph Strobl
| Methods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty |
equals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMap, shallBePersisted |
| 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, isMap, isTransient, isVersionProperty, shallBePersisted |
SimpleSolrPersistentProperty
public SimpleSolrPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
PersistentEntity<?,SolrPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
getFieldName
public String getFieldName()
- Description copied from interface:
SolrPersistentProperty
- Get name of field under attention to
Field annotation
- Specified by:
getFieldName in interface SolrPersistentProperty
- Returns:
isReadonly
public boolean isReadonly()
- Specified by:
isReadonly in interface SolrPersistentProperty
- Returns:
- true if
Field is present and not marked
Indexed.readonly() = true
isIdProperty
public boolean isIdProperty()
- Specified by:
isIdProperty in interface PersistentProperty<SolrPersistentProperty>- Overrides:
isIdProperty in class AnnotationBasedPersistentProperty<SolrPersistentProperty>
createAssociation
protected Association<SolrPersistentProperty> createAssociation()
- Specified by:
createAssociation in class AbstractPersistentProperty<SolrPersistentProperty>
containsWildcard
public boolean containsWildcard()
- Specified by:
containsWildcard in interface SolrPersistentProperty
- Returns:
- true if
Field.value() contains *
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.