Class DefaultArangoPersistentEntity<T>
java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity<T,ArangoPersistentProperty>
com.arangodb.springframework.core.mapping.DefaultArangoPersistentEntity<T>
- Type Parameters:
T-
- All Implemented Interfaces:
ArangoPersistentEntity<T>,Iterable<ArangoPersistentProperty>,Aware,ApplicationContextAware,MutablePersistentEntity<T,,ArangoPersistentProperty> PersistentEntity<T,ArangoPersistentProperty>
public class DefaultArangoPersistentEntity<T>
extends BasicPersistentEntity<T,ArangoPersistentProperty>
implements ArangoPersistentEntity<T>
- Author:
- Mark Vollmary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid<A extends Annotation>
Set<A>findAnnotations(Class<A> annotationType) getArangoIdAccessor(Object bean) com.arangodb.model.CollectionCreateOptionsDeprecated.Deprecated.<A extends Annotation>
Collection<A>getIndexes(Class<A> annotation) voidsetApplicationContext(ApplicationContext applicationContext) Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity
addAssociation, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getEvaluationContext, getEvaluationContext, getFallbackIsNewStrategy, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, returnPropertyIfBetterIdPropertyCandidateOrNull, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface org.springframework.data.mapping.PersistentEntity
doWithAll, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getInstanceCreatorMetadata, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isCreatorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Constructor Details
-
DefaultArangoPersistentEntity
-
-
Method Details
-
getCollection
- Specified by:
getCollectionin interfaceArangoPersistentEntity<T>
-
setApplicationContext
- Specified by:
setApplicationContextin interfaceApplicationContextAware- Throws:
BeansException
-
addPersistentProperty
- Specified by:
addPersistentPropertyin interfaceMutablePersistentEntity<T,ArangoPersistentProperty> - Overrides:
addPersistentPropertyin classBasicPersistentEntity<T,ArangoPersistentProperty>
-
getArangoIdProperty
- Specified by:
getArangoIdPropertyin interfaceArangoPersistentEntity<T>
-
getRevProperty
- Specified by:
getRevPropertyin interfaceArangoPersistentEntity<T>
-
getCollectionOptions
public com.arangodb.model.CollectionCreateOptions getCollectionOptions()- Specified by:
getCollectionOptionsin interfaceArangoPersistentEntity<T>
-
getPersistentIndexes
- Specified by:
getPersistentIndexesin interfaceArangoPersistentEntity<T>
-
getGeoIndexes
- Specified by:
getGeoIndexesin interfaceArangoPersistentEntity<T>
-
getFulltextIndexes
Deprecated.- Specified by:
getFulltextIndexesin interfaceArangoPersistentEntity<T>
-
getTtlIndex
- Specified by:
getTtlIndexin interfaceArangoPersistentEntity<T>
-
getIndexes
-
getPersistentIndexedProperties
- Specified by:
getPersistentIndexedPropertiesin interfaceArangoPersistentEntity<T>
-
getGeoIndexedProperties
- Specified by:
getGeoIndexedPropertiesin interfaceArangoPersistentEntity<T>
-
getFulltextIndexedProperties
Deprecated.- Specified by:
getFulltextIndexedPropertiesin interfaceArangoPersistentEntity<T>
-
getTtlIndexedProperty
- Specified by:
getTtlIndexedPropertyin interfaceArangoPersistentEntity<T>
-
findAnnotations
-
getArangoIdAccessor
- Specified by:
getArangoIdAccessorin interfaceArangoPersistentEntity<T>
-