public class GemfirePersistentProperty extends 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(Property property,
PersistentEntity<?,GemfirePersistentProperty> owner,
SimpleTypeHolder simpleTypeHolder)
Constructs an instance of
GemfirePersistentProperty initialized with entity persistent property
information (meta-data). |
| Modifier and Type | Method and Description |
|---|---|
protected 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, getAssociationTargetType, getSpelExpression, isAnnotationPresent, isAssociation, isVersionProperty, isWritable, toStringequals, getActualType, getAssociation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getProperty, getRawType, getSetter, getType, getTypeInformation, getWither, hashCode, isArray, isCollectionLike, isEntity, isImmutable, isMapclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessorForOwner, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotationpublic GemfirePersistentProperty(Property property, PersistentEntity<?,GemfirePersistentProperty> owner, SimpleTypeHolder simpleTypeHolder)
GemfirePersistentProperty initialized with entity persistent property
information (meta-data).property - Property representing the entity's persistent property.owner - entity owning the persistent property.simpleTypeHolder - SimpleTypeHolder used to handle primitive types.PersistentEntity,
PersistentProperty,
Property,
SimpleTypeHolder,
AnnotationBasedPersistentProperty(Property, PersistentEntity, SimpleTypeHolder)protected Association<GemfirePersistentProperty> createAssociation()
createAssociation in class 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 PersistentProperty<GemfirePersistentProperty>isIdProperty in class 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 PersistentProperty<GemfirePersistentProperty>isTransient in class 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 PersistentProperty<GemfirePersistentProperty>usePropertyAccess in class AnnotationBasedPersistentProperty<GemfirePersistentProperty>Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.