Spring Data Elasticsearch

org.springframework.data.elasticsearch.core.mapping
Class SimpleElasticsearchPersistentProperty

java.lang.Object
  extended by org.springframework.data.mapping.model.AbstractPersistentProperty<P>
      extended by org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
          extended by org.springframework.data.elasticsearch.core.mapping.SimpleElasticsearchPersistentProperty
All Implemented Interfaces:
ElasticsearchPersistentProperty, org.springframework.data.mapping.PersistentProperty<ElasticsearchPersistentProperty>

public class SimpleElasticsearchPersistentProperty
extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
implements ElasticsearchPersistentProperty

Elasticsearch specific PersistentProperty implementation processing


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.data.elasticsearch.core.mapping.ElasticsearchPersistentProperty
ElasticsearchPersistentProperty.PropertyToFieldNameConverter
 
Field Summary
 
Fields inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty
association, field, information, name, owner, propertyDescriptor, rawType
 
Constructor Summary
SimpleElasticsearchPersistentProperty(Field field, PropertyDescriptor propertyDescriptor, org.springframework.data.mapping.PersistentEntity<?,ElasticsearchPersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
           
 
Method Summary
protected  org.springframework.data.mapping.Association<ElasticsearchPersistentProperty> createAssociation()
           
 String getFieldName()
           
 boolean isIdProperty()
           
 
Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
getSpelExpression, isAssociation, isTransient
 
Methods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty
equals, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getType, getTypeInformation, hashCode, isArray, isCollectionLike, isEntity, isMap, shallBePersisted
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.data.mapping.PersistentProperty
getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityType, getRawType, getSetter, getSpelExpression, getType, getTypeInformation, isArray, isAssociation, isCollectionLike, isEntity, isMap, isTransient, shallBePersisted
 

Constructor Detail

SimpleElasticsearchPersistentProperty

public SimpleElasticsearchPersistentProperty(Field field,
                                             PropertyDescriptor propertyDescriptor,
                                             org.springframework.data.mapping.PersistentEntity<?,ElasticsearchPersistentProperty> owner,
                                             org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
Method Detail

getFieldName

public String getFieldName()
Specified by:
getFieldName in interface ElasticsearchPersistentProperty

isIdProperty

public boolean isIdProperty()
Specified by:
isIdProperty in interface org.springframework.data.mapping.PersistentProperty<ElasticsearchPersistentProperty>
Overrides:
isIdProperty in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>

createAssociation

protected org.springframework.data.mapping.Association<ElasticsearchPersistentProperty> createAssociation()
Specified by:
createAssociation in class org.springframework.data.mapping.model.AbstractPersistentProperty<ElasticsearchPersistentProperty>

Spring Data Elasticsearch

Copyright © 2012-2013 BioMed Central. All Rights Reserved.