Class BasicAerospikePersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<AerospikePersistentProperty>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<AerospikePersistentProperty>
org.springframework.data.aerospike.mapping.BasicAerospikePersistentProperty
- All Implemented Interfaces:
AerospikePersistentProperty
,PersistentProperty<AerospikePersistentProperty>
- Direct Known Subclasses:
CachingAerospikePersistentProperty
public class BasicAerospikePersistentProperty
extends AnnotationBasedPersistentProperty<AerospikePersistentProperty>
implements AerospikePersistentProperty
-
Constructor Summary
ConstructorsConstructorDescriptionBasicAerospikePersistentProperty
(Property property, PersistentEntity<?, AerospikePersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, FieldNamingStrategy fieldNamingStrategy) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isIdProperty, isTransient, isVersionProperty, isWritable, toString, usePropertyAccess
Methods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty
equals, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap, isReadable
Methods inherited from interface org.springframework.data.aerospike.mapping.AerospikePersistentProperty
usePropertyAccess
Methods inherited from interface org.springframework.data.mapping.PersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getAssociationTargetTypeInformation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isImmutable, isMap, isReadable, isTransient, isVersionProperty, isWritable
-
Constructor Details
-
BasicAerospikePersistentProperty
public BasicAerospikePersistentProperty(Property property, PersistentEntity<?, AerospikePersistentProperty> owner, SimpleTypeHolder simpleTypeHolder, FieldNamingStrategy fieldNamingStrategy)
-
-
Method Details
-
isExplicitIdProperty
public boolean isExplicitIdProperty()- Specified by:
isExplicitIdProperty
in interfaceAerospikePersistentProperty
- Returns:
- whether id property is explicit
-
isExpirationProperty
public boolean isExpirationProperty()- Specified by:
isExpirationProperty
in interfaceAerospikePersistentProperty
- Returns:
- whether expiration property is present
-
isExpirationSpecifiedAsUnixTime
public boolean isExpirationSpecifiedAsUnixTime()- Specified by:
isExpirationSpecifiedAsUnixTime
in interfaceAerospikePersistentProperty
- Returns:
- whether expiration is set as Unix timestamp
-
getFieldName
- Specified by:
getFieldName
in interfaceAerospikePersistentProperty
- Returns:
- the field name to be used to store the value of the property.
-