Class BasicAerospikePersistentEntity<T>
java.lang.Object
org.springframework.data.mapping.model.BasicPersistentEntity<T,AerospikePersistentProperty>
org.springframework.data.aerospike.mapping.BasicAerospikePersistentEntity<T>
- All Implemented Interfaces:
Iterable<AerospikePersistentProperty>,Aware,EnvironmentAware,AerospikePersistentEntity<T>,MutablePersistentEntity<T,,AerospikePersistentProperty> PersistentEntity<T,AerospikePersistentProperty>
public class BasicAerospikePersistentEntity<T>
extends BasicPersistentEntity<T,AerospikePersistentProperty>
implements AerospikePersistentEntity<T>, EnvironmentAware
Default implementation of
AerospikePersistentEntity.- Author:
- Oliver Gierke
-
Constructor Summary
ConstructorsConstructorDescriptionBasicAerospikePersistentEntity(TypeInformation<T> information) Creates a newBasicAerospikePersistentEntityusing a givenTypeInformation. -
Method Summary
Modifier and TypeMethodDescriptionvoidintbooleanbooleanvoidsetEnvironment(Environment environment) Methods inherited from class org.springframework.data.mapping.model.BasicPersistentEntity
addAssociation, doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, iterator, requiresPropertyPopulation, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifyMethods inherited from class java.lang.Object
equals, 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, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
-
Constructor Details
-
BasicAerospikePersistentEntity
Creates a newBasicAerospikePersistentEntityusing a givenTypeInformation.- Parameters:
information- must not be null.
-
-
Method Details
-
addPersistentProperty
- Specified by:
addPersistentPropertyin interfaceMutablePersistentEntity<T,AerospikePersistentProperty> - Overrides:
addPersistentPropertyin classBasicPersistentEntity<T,AerospikePersistentProperty>
-
getSetName
- Specified by:
getSetNamein interfaceAerospikePersistentEntity<T>
-
getExpiration
public int getExpiration()- Specified by:
getExpirationin interfaceAerospikePersistentEntity<T>
-
isTouchOnRead
public boolean isTouchOnRead()- Specified by:
isTouchOnReadin interfaceAerospikePersistentEntity<T>
-
getExpirationProperty
- Specified by:
getExpirationPropertyin interfaceAerospikePersistentEntity<T>
-
hasExpirationProperty
public boolean hasExpirationProperty()- Specified by:
hasExpirationPropertyin interfaceAerospikePersistentEntity<T>
-
setEnvironment
- Specified by:
setEnvironmentin interfaceEnvironmentAware
-