Spring Data for VMware GemFire
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:
org.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
public class GemfirePersistentProperty
extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
PersistentProperty implementation to for Gemfire related metadata.- See Also:
-
AnnotationBasedPersistentProperty
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGemfirePersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?, GemfirePersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) Constructs an instance ofGemfirePersistentPropertyinitialized with entity persistent property information (meta-data). -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.mapping.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, 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
-
Field Details
-
SUPPORTED_IDENTIFIER_NAMES
-
-
Constructor Details
-
GemfirePersistentProperty
public GemfirePersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?, GemfirePersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) Constructs an instance ofGemfirePersistentPropertyinitialized with entity persistent property information (meta-data).
-
-
Method Details
-
createAssociation
protected org.springframework.data.mapping.Association<GemfirePersistentProperty> createAssociation()- Specified by:
createAssociationin classorg.springframework.data.mapping.model.AbstractPersistentProperty<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:
-
IdAnnotationBasedPersistentProperty.isAnnotationPresent(Class)
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdPropertyin interfaceorg.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>- Overrides:
isIdPropertyin classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<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 interfaceorg.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>- Overrides:
isTransientin classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>- Returns:
- a boolean value indicating whether this
persistent propertyis transient and thus impervious to persistent operations.
-
getTypeName
- Returns:
- the
nameof this {@link GemfirePersistentProperty's}type. - See Also:
-
Class.getName()AbstractPersistentProperty.getType()
-
usePropertyAccess
public boolean usePropertyAccess()- Specified by:
usePropertyAccessin interfaceorg.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>- Overrides:
usePropertyAccessin classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
-