Class GemfirePersistentProperty
java.lang.Object
org.springframework.data.mapping.model.AbstractPersistentProperty<P>
org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
org.springframework.data.gemfire.mapping.GemfirePersistentProperty
- All Implemented Interfaces:
PersistentProperty<GemfirePersistentProperty>
public class GemfirePersistentProperty
extends AnnotationBasedPersistentProperty<GemfirePersistentProperty>
PersistentProperty implementation to for Gemfire related metadata.- Author:
- Oliver Gierke, John Blum
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGemfirePersistentProperty(Property property, PersistentEntity<?, GemfirePersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Constructs an instance ofGemfirePersistentPropertyinitialized with entity persistent property information (meta-data). -
Method Summary
Modifier and TypeMethodDescriptionprotected Association<GemfirePersistentProperty>booleanDetermines whether thisGemfirePersistentPropertyexplicitly identifies anentityidentifier, one in which the user explicitly annotated theowning entityclass member (Fieldor property, i.e.booleanbooleanDetermines whether thispersistent propertyis transient and thus impervious to persistent operations.booleanMethods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, getValueConverterType, isAnnotationPresent, isAssociation, isVersionProperty, isWritable, toStringMethods 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
getAccessorForOwner, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotation, hasValueConverter
-
Field Details
-
SUPPORTED_IDENTIFIER_NAMES
-
-
Constructor Details
-
GemfirePersistentProperty
public GemfirePersistentProperty(Property property, PersistentEntity<?, GemfirePersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Constructs an instance ofGemfirePersistentPropertyinitialized with entity persistent property information (meta-data).- Parameters:
property-Propertyrepresenting theentity'spersistent property.owner-entityowning the persistent property.simpleTypeHolder-SimpleTypeHolderused to handle primitive types.- See Also:
-
-
Method Details
-
createAssociation
- Specified by:
createAssociationin classAbstractPersistentProperty<GemfirePersistentProperty>
-
isExplicitIdProperty
public boolean isExplicitIdProperty()Determines whether thisGemfirePersistentPropertyexplicitly identifies anentityidentifier, one in which the user explicitly annotated theowning entityclass member (Fieldor property, i.e.getter/setter).- Returns:
- a boolean value indicating whether this
GemfirePersistentPropertyexplicitly identifies anentityidentifier. - See Also:
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdPropertyin interfacePersistentProperty<GemfirePersistentProperty>- Overrides:
isIdPropertyin classAnnotationBasedPersistentProperty<GemfirePersistentProperty>
-
isTransient
public boolean isTransient()Determines whether thispersistent propertyis transient and thus impervious to persistent operations. Apersistent propertyis considered transient if theowning entity'sfield/property is annotated withTransientor the field/property is modified withtransient.- Specified by:
isTransientin interfacePersistentProperty<GemfirePersistentProperty>- Overrides:
isTransientin classAnnotationBasedPersistentProperty<GemfirePersistentProperty>- Returns:
- a boolean value indicating whether this
persistent propertyis transient and thus impervious to persistent operations.
-
getTypeName
-
usePropertyAccess
public boolean usePropertyAccess()- Specified by:
usePropertyAccessin interfacePersistentProperty<GemfirePersistentProperty>- Overrides:
usePropertyAccessin classAnnotationBasedPersistentProperty<GemfirePersistentProperty>
-