T - the type of the property described by this persistent propertypublic interface DatastorePersistentEntity<T> extends org.springframework.data.mapping.model.MutablePersistentEntity<T,DatastorePersistentProperty>, org.springframework.context.ApplicationContextAware
| Modifier and Type | Method and Description |
|---|---|
void |
doWithColumnBackedProperties(org.springframework.data.mapping.PropertyHandler<DatastorePersistentProperty> handler)
Applies the given
PropertyHandler to all
DatastorePersistentProperty contained in this
DatastorePersistentEntity that are stored as columns in the table for this
entity. |
void |
doWithDescendantProperties(org.springframework.data.mapping.PropertyHandler<DatastorePersistentProperty> handler)
Applies the given
PropertyHandler to all
DatastorePersistentProperty contained in this
DatastorePersistentEntity that are properties backed by descendants. |
void |
doWithReferenceProperties(org.springframework.data.mapping.PropertyHandler<DatastorePersistentProperty> handler)
Applies the given
PropertyHandler to all
DatastorePersistentProperty contained in this
DatastorePersistentEntity that are properties stored as keys referring to other
entities in Cloud Datastore. |
DatastorePersistentProperty |
getIdPropertyOrFail()
Gets the ID property, and will throw
DatastoreDataException if the entity
does not have an ID property. |
String |
kindName()
Gets the name of the Datastore Entity.
|
addAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verifydoWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulationforEach, iterator, spliteratorString kindName()
DatastorePersistentProperty getIdPropertyOrFail()
DatastoreDataException if the entity
does not have an ID property.void doWithColumnBackedProperties(org.springframework.data.mapping.PropertyHandler<DatastorePersistentProperty> handler)
PropertyHandler to all
DatastorePersistentProperty contained in this
DatastorePersistentEntity that are stored as columns in the table for this
entity. This means properties backed by descendants or references to entities of
other Kinds are not provided to the handler.handler - must not be null.void doWithDescendantProperties(org.springframework.data.mapping.PropertyHandler<DatastorePersistentProperty> handler)
PropertyHandler to all
DatastorePersistentProperty contained in this
DatastorePersistentEntity that are properties backed by descendants.handler - must not be null.void doWithReferenceProperties(org.springframework.data.mapping.PropertyHandler<DatastorePersistentProperty> handler)
PropertyHandler to all
DatastorePersistentProperty contained in this
DatastorePersistentEntity that are properties stored as keys referring to other
entities in Cloud Datastore.handler - must not be null.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.