public class GemfirePersistentProperty extends AnnotationBasedPersistentProperty<GemfirePersistentProperty>
PersistentProperty implementation to for Gemfire related metadata.AnnotationBasedPersistentProperty| Type | Property and Description |
|---|---|
boolean |
isExplicitId
Gets the value of the property explicitIdProperty.
|
boolean |
isId
Gets the value of the property idProperty.
|
isVersionProperty| 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()
Gets the value of the property explicitIdProperty.
|
boolean |
isIdProperty()
Gets the value of the property idProperty.
|
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, waitgetRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, hasActualTypeAnnotationpublic boolean isExplicitIdProperty
public boolean isIdProperty
isIdProperty in interface PersistentProperty<GemfirePersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<GemfirePersistentProperty>public 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()
public boolean isIdProperty()
isIdProperty in interface PersistentProperty<GemfirePersistentProperty>isIdProperty in class AnnotationBasedPersistentProperty<GemfirePersistentProperty>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–2019 Pivotal Software, Inc.. All rights reserved.