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
-
Constructor Summary
ConstructorDescriptionGemfirePersistentProperty
(Property property, PersistentEntity<?, GemfirePersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Constructs an instance ofGemfirePersistentProperty
initialized with entity persistent property information (meta-data). -
Method Summary
Modifier and TypeMethodDescriptionprotected 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(Property property, PersistentEntity<?, GemfirePersistentProperty> owner, SimpleTypeHolder simpleTypeHolder) Constructs an instance ofGemfirePersistentProperty
initialized with entity persistent property information (meta-data).- Parameters:
property
-Property
representing theentity's
persistent property.owner
-entity
owning the persistent property.simpleTypeHolder
-SimpleTypeHolder
used to handle primitive types.- See Also:
-
-
Method Details
-
createAssociation
- Specified by:
createAssociation
in classAbstractPersistentProperty<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:
-
isIdProperty
public boolean isIdProperty()- Specified by:
isIdProperty
in interfacePersistentProperty<GemfirePersistentProperty>
- Overrides:
isIdProperty
in classAnnotationBasedPersistentProperty<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 interfacePersistentProperty<GemfirePersistentProperty>
- Overrides:
isTransient
in classAnnotationBasedPersistentProperty<GemfirePersistentProperty>
- Returns:
- a boolean value indicating whether this
persistent property
is transient and thus impervious to persistent operations.
-
getTypeName
-
usePropertyAccess
public boolean usePropertyAccess()- Specified by:
usePropertyAccess
in interfacePersistentProperty<GemfirePersistentProperty>
- Overrides:
usePropertyAccess
in classAnnotationBasedPersistentProperty<GemfirePersistentProperty>
-