public class SimpleElasticsearchPersistentProperty extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty> implements ElasticsearchPersistentProperty
PersistentProperty implementation processingElasticsearchPersistentProperty.PropertyToFieldNameConverter| Constructor and Description |
|---|
SimpleElasticsearchPersistentProperty(org.springframework.data.mapping.model.Property property,
org.springframework.data.mapping.PersistentEntity<?,ElasticsearchPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.data.mapping.Association<ElasticsearchPersistentProperty> |
createAssociation() |
String |
getFieldName() |
boolean |
isIdProperty() |
boolean |
isImmutable() |
boolean |
isParentProperty()
Returns whether the current property is a potential parent property of the owning
ElasticsearchPersistentEntity. |
boolean |
isScoreProperty()
Returns whether the current property is a potential score property of the owning
ElasticsearchPersistentEntity. |
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindAnnotation, findPropertyOrOwnerAnnotation, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccesspublic SimpleElasticsearchPersistentProperty(org.springframework.data.mapping.model.Property property,
org.springframework.data.mapping.PersistentEntity<?,ElasticsearchPersistentProperty> owner,
org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
public String getFieldName()
getFieldName in interface ElasticsearchPersistentPropertypublic boolean isIdProperty()
isIdProperty in interface org.springframework.data.mapping.PersistentProperty<ElasticsearchPersistentProperty>isIdProperty in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<ElasticsearchPersistentProperty>protected org.springframework.data.mapping.Association<ElasticsearchPersistentProperty> createAssociation()
createAssociation in class org.springframework.data.mapping.model.AbstractPersistentProperty<ElasticsearchPersistentProperty>public boolean isScoreProperty()
ElasticsearchPersistentPropertyElasticsearchPersistentEntity. This method is mainly used by ElasticsearchPersistentEntity
implementation to discover score property candidates on ElasticsearchPersistentEntity creation you should
rather call ElasticsearchPersistentEntity#isScoreProperty(PersistentProperty) to determine whether the
current property is the score property of that ElasticsearchPersistentEntity under consideration.isScoreProperty in interface ElasticsearchPersistentPropertypublic boolean isImmutable()
isImmutable in interface org.springframework.data.mapping.PersistentProperty<ElasticsearchPersistentProperty>isImmutable in class org.springframework.data.mapping.model.AbstractPersistentProperty<ElasticsearchPersistentProperty>public boolean isParentProperty()
ElasticsearchPersistentPropertyElasticsearchPersistentEntity. This method is mainly used by ElasticsearchPersistentEntity
implementation to discover parent property candidates on ElasticsearchPersistentEntity creation you should
rather call ElasticsearchPersistentEntity#isParentProperty() to determine whether the current property is
the parent property of that ElasticsearchPersistentEntity under consideration.isParentProperty in interface ElasticsearchPersistentPropertyCopyright © 2011–2018 Pivotal Software, Inc.. All rights reserved.