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
-
Constructor Summary
ConstructorDescriptionGemfirePersistentProperty
(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?, GemfirePersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder) Constructs an instance ofGemfirePersistentProperty
initialized with entity persistent property information (meta-data). -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.data.mapping.Association<GemfirePersistentProperty>
boolean
Determines whether thisGemfirePersistentProperty
explicitly identifies anentity
identifier, one in which the user explicitly annotated theowning entity
class member (Field
or property, i.e.boolean
boolean
Determines whether thispersistent property
is transient and thus impervious to persistent operations.boolean
Methods inherited from class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isVersionProperty, isWritable, toString
Methods 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, isMap
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 ofGemfirePersistentProperty
initialized with entity persistent property information (meta-data).
-
-
Method Details
-
createAssociation
protected org.springframework.data.mapping.Association<GemfirePersistentProperty> createAssociation()- Specified by:
createAssociation
in classorg.springframework.data.mapping.model.AbstractPersistentProperty<GemfirePersistentProperty>
-
isExplicitIdProperty
public boolean isExplicitIdProperty()Determines whether thisGemfirePersistentProperty
explicitly identifies anentity
identifier, one in which the user explicitly annotated theowning entity
class member (Field
or property, i.e.getter/setter
).- Returns:
- a boolean value indicating whether this
GemfirePersistentProperty
explicitly identifies anentity
identifier. - See Also:
-
Id
AnnotationBasedPersistentProperty.isAnnotationPresent(Class)
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdProperty
in interfaceorg.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
- Overrides:
isIdProperty
in classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
-
isTransient
public boolean isTransient()Determines whether thispersistent property
is transient and thus impervious to persistent operations. Apersistent property
is considered transient if theowning entity's
field/property is annotated withTransient
or the field/property is modified withtransient
.- Specified by:
isTransient
in interfaceorg.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
- Overrides:
isTransient
in classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
- Returns:
- a boolean value indicating whether this
persistent property
is transient and thus impervious to persistent operations.
-
getTypeName
- Returns:
- the
name
of this {@link GemfirePersistentProperty's}type
. - See Also:
-
Class.getName()
AbstractPersistentProperty.getType()
-
usePropertyAccess
public boolean usePropertyAccess()- Specified by:
usePropertyAccess
in interfaceorg.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
- Overrides:
usePropertyAccess
in classorg.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
-