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.CollectionCreateOptions
Deprecated.Deprecated.<A extends Annotation>
Collection<A>getIndexes
(Class<A> annotation) void
setApplicationContext
(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, verify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods 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:
getCollection
in interfaceArangoPersistentEntity<T>
-
setApplicationContext
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
addPersistentProperty
- Specified by:
addPersistentProperty
in interfaceMutablePersistentEntity<T,
ArangoPersistentProperty> - Overrides:
addPersistentProperty
in classBasicPersistentEntity<T,
ArangoPersistentProperty>
-
getArangoIdProperty
- Specified by:
getArangoIdProperty
in interfaceArangoPersistentEntity<T>
-
getRevProperty
- Specified by:
getRevProperty
in interfaceArangoPersistentEntity<T>
-
getCollectionOptions
public com.arangodb.model.CollectionCreateOptions getCollectionOptions()- Specified by:
getCollectionOptions
in interfaceArangoPersistentEntity<T>
-
getPersistentIndexes
- Specified by:
getPersistentIndexes
in interfaceArangoPersistentEntity<T>
-
getGeoIndexes
- Specified by:
getGeoIndexes
in interfaceArangoPersistentEntity<T>
-
getFulltextIndexes
Deprecated.- Specified by:
getFulltextIndexes
in interfaceArangoPersistentEntity<T>
-
getTtlIndex
- Specified by:
getTtlIndex
in interfaceArangoPersistentEntity<T>
-
getIndexes
-
getPersistentIndexedProperties
- Specified by:
getPersistentIndexedProperties
in interfaceArangoPersistentEntity<T>
-
getGeoIndexedProperties
- Specified by:
getGeoIndexedProperties
in interfaceArangoPersistentEntity<T>
-
getFulltextIndexedProperties
Deprecated.- Specified by:
getFulltextIndexedProperties
in interfaceArangoPersistentEntity<T>
-
getTtlIndexedProperty
- Specified by:
getTtlIndexedProperty
in interfaceArangoPersistentEntity<T>
-
findAnnotations
-
getArangoIdAccessor
- Specified by:
getArangoIdAccessor
in interfaceArangoPersistentEntity<T>
-