org.springframework.data.elasticsearch.core.mapping
Class SimpleElasticsearchPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
org.springframework.data.elasticsearch.core.mapping.SimpleElasticsearchPersistentProperty
- All Implemented Interfaces:
- ElasticsearchPersistentProperty, PersistentProperty<ElasticsearchPersistentProperty>
public class SimpleElasticsearchPersistentProperty
- extends AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
- implements ElasticsearchPersistentProperty
Elasticsearch specific PersistentProperty
implementation processing
- Author:
- Rizwan Idrees, Mohsin Husen
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 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 |
SimpleElasticsearchPersistentProperty
public SimpleElasticsearchPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
PersistentEntity<?,ElasticsearchPersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
getFieldName
public String getFieldName()
- Specified by:
getFieldName
in interface ElasticsearchPersistentProperty
isIdProperty
public boolean isIdProperty()
- Specified by:
isIdProperty
in interface PersistentProperty<ElasticsearchPersistentProperty>
- Overrides:
isIdProperty
in class AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
isVersionProperty
public boolean isVersionProperty()
- Specified by:
isVersionProperty
in interface ElasticsearchPersistentProperty
- Specified by:
isVersionProperty
in interface PersistentProperty<ElasticsearchPersistentProperty>
- Overrides:
isVersionProperty
in class AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>
createAssociation
protected Association<ElasticsearchPersistentProperty> createAssociation()
- Specified by:
createAssociation
in class AbstractPersistentProperty<ElasticsearchPersistentProperty>
Copyright © 2013 BioMed Central. All Rights Reserved.