public class GemfirePersistentProperty extends org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
PersistentProperty
implementation to for Gemfire related metadata.AnnotationBasedPersistentProperty
Modifier and Type | Field and Description |
---|---|
protected static Set<String> |
SUPPORTED_IDENTIFIER_NAMES |
Constructor and Description |
---|
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 of
GemfirePersistentProperty initialized with entity persistent property
information (meta-data). |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.data.mapping.Association<GemfirePersistentProperty> |
createAssociation() |
String |
getTypeName()
|
boolean |
isExplicitIdProperty()
Determines whether this
GemfirePersistentProperty explicitly identifies
an entity identifier, one in which the user explicitly annotated
the owning entity class member (Field or property,
i.e. |
boolean |
isIdProperty() |
boolean |
isTransient()
Determines whether this
persistent property is transient
and thus impervious to persistent operations. |
boolean |
usePropertyAccess() |
findAnnotation, findPropertyOrOwnerAnnotation, getAssociationTargetTypeInformation, getSpelExpression, isAnnotationPresent, isAssociation, isVersionProperty, isWritable, toString
equals, getActualType, getActualTypeInformation, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMap
public GemfirePersistentProperty(org.springframework.data.mapping.model.Property property, org.springframework.data.mapping.PersistentEntity<?,GemfirePersistentProperty> owner, org.springframework.data.mapping.model.SimpleTypeHolder simpleTypeHolder)
GemfirePersistentProperty
initialized with entity persistent property
information (meta-data).protected org.springframework.data.mapping.Association<GemfirePersistentProperty> createAssociation()
createAssociation
in class org.springframework.data.mapping.model.AbstractPersistentProperty<GemfirePersistentProperty>
public boolean isExplicitIdProperty()
GemfirePersistentProperty
explicitly identifies
an entity
identifier, one in which the user explicitly annotated
the owning entity
class member (Field
or property,
i.e. getter/setter
).GemfirePersistentProperty
explicitly identifies
an entity
identifier.Id
,
AnnotationBasedPersistentProperty.isAnnotationPresent(Class)
public boolean isIdProperty()
isIdProperty
in interface org.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
isIdProperty
in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
AnnotationBasedPersistentProperty.isIdProperty()
public boolean isTransient()
persistent property
is transient
and thus impervious to persistent operations.
A persistent property
is considered transient
if the owning entity's
field/property is annotated with
Transient
or the field/property is modified with transient
.isTransient
in interface org.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
isTransient
in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
persistent property
is transient and thus impervious to persistent operations.public String getTypeName()
name
of this GemfirePersistentProperty's
type
.Class.getName()
,
AbstractPersistentProperty.getType()
public boolean usePropertyAccess()
usePropertyAccess
in interface org.springframework.data.mapping.PersistentProperty<GemfirePersistentProperty>
usePropertyAccess
in class org.springframework.data.mapping.model.AnnotationBasedPersistentProperty<GemfirePersistentProperty>
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.