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 SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionGemfirePersistentProperty(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 SummaryModifier 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.AnnotationBasedPersistentPropertyfindAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isVersionProperty, isWritable, toStringMethods inherited from class org.springframework.data.mapping.model.AbstractPersistentPropertyequals, 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.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.mapping.PersistentPropertygetAccessorForOwner, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotation
- 
Field Details- 
SUPPORTED_IDENTIFIER_NAMES
 
- 
- 
Constructor Details- 
GemfirePersistentPropertypublic 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- 
createAssociationprotected org.springframework.data.mapping.Association<GemfirePersistentProperty> createAssociation()- Specified by:
- createAssociationin class- org.springframework.data.mapping.model.AbstractPersistentProperty<GemfirePersistentProperty>
 
- 
isExplicitIdPropertypublic 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:
- 
- Id
- AnnotationBasedPersistentProperty.isAnnotationPresent(Class)
 
 
- 
isIdPropertypublic boolean isIdProperty()- Specified by:
- isIdPropertyin interface- org.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
- Overrides:
- isIdPropertyin class- org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
 
- 
isTransientpublic 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 interface- org.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
- Overrides:
- isTransientin class- org.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()
 
 
- 
usePropertyAccesspublic boolean usePropertyAccess()- Specified by:
- usePropertyAccessin interface- org.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
- Overrides:
- usePropertyAccessin class- org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
 
 
- 
