Class BasicNosqlPersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<NosqlPersistentProperty>
com.oracle.nosql.spring.data.core.mapping.BasicNosqlPersistentProperty
- All Implemented Interfaces:
NosqlPersistentProperty,org.springframework.data.mapping.PersistentProperty<NosqlPersistentProperty>
public class BasicNosqlPersistentProperty
extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<NosqlPersistentProperty>
implements NosqlPersistentProperty
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.oracle.nosql.spring.data.core.mapping.NosqlPersistentProperty
NosqlPersistentProperty.TypeCode -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.mapping.Association<NosqlPersistentProperty>getCodeForDeserialization(Class<?> cls) getCodeForSerialization(Class<?> cls) The code of the type of the propertybooleanWhether the property is a composite primary key.booleanbooleanWhether the property is aNosqlKeyMethods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isTransient, isVersionProperty, isWritable, toString, usePropertyAccessMethods inherited from class org.springframework.data.mapping.model.AbstractPersistentProperty
equals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccess
-
Method Details
-
createAssociation
- Specified by:
createAssociationin classorg.springframework.data.mapping.model.AbstractPersistentProperty<NosqlPersistentProperty>
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdPropertyin interfaceorg.springframework.data.mapping.PersistentProperty<NosqlPersistentProperty>- Overrides:
isIdPropertyin classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<NosqlPersistentProperty>
-
getTypeCode
The code of the type of the property- Specified by:
getTypeCodein interfaceNosqlPersistentProperty- Returns:
- The property type code
-
getCodeForDeserialization
-
getCodeForSerialization
-
isCompositeKey
public boolean isCompositeKey()Description copied from interface:NosqlPersistentPropertyWhether the property is a composite primary key.- Specified by:
isCompositeKeyin interfaceNosqlPersistentProperty
-
isNosqlKey
public boolean isNosqlKey()Description copied from interface:NosqlPersistentPropertyWhether the property is aNosqlKey- Specified by:
isNosqlKeyin interfaceNosqlPersistentProperty
-