T
- type of the underlying class@API(status=STABLE, since="6.0") public interface Neo4jPersistentEntity<T> extends MutablePersistentEntity<T,Neo4jPersistentProperty>, NodeDescription<T>
PersistentEntity
interface with additional methods for metadata related to
Neo4j. Both Spring Data methods PersistentEntity.doWithProperties(PropertyHandler)
and
PersistentEntity.doWithAssociations(AssociationHandler)
are aware which field of a class is meant to be mapped as a property
of a node or a relationship or if it is a relationship (in Spring Data terms: if it is an association).Modifier and Type | Method and Description |
---|---|
Optional<Neo4jPersistentProperty> |
getDynamicLabelsProperty() |
boolean |
isRelationshipPropertiesEntity() |
addAssociation, addPersistentProperty, setEvaluationContextProvider, setPersistentPropertyAccessorFactory, verify
doWithAssociations, doWithAssociations, doWithProperties, doWithProperties, findAnnotation, getIdentifierAccessor, getIdProperty, getName, getPersistenceConstructor, getPersistentProperties, getPersistentProperty, getPersistentProperty, getPropertyAccessor, getPropertyPathAccessor, getRequiredAnnotation, getRequiredIdProperty, getRequiredPersistentProperty, getRequiredVersionProperty, getType, getTypeAlias, getTypeInformation, getVersionProperty, hasIdProperty, hasVersionProperty, isAnnotationPresent, isConstructorArgument, isIdProperty, isImmutable, isNew, isVersionProperty, requiresPropertyPopulation
forEach, iterator, spliterator
addChildNodeDescription, containsPossibleCircles, getAdditionalLabels, getChildNodeDescriptionsInHierarchy, getGraphProperties, getGraphPropertiesInHierarchy, getGraphProperty, getIdDescription, getIdExpression, getMostAbstractParentLabel, getParentNodeDescription, getPrimaryLabel, getRelationships, getStaticLabels, getUnderlyingClass, isUsingInternalIds, setParentNodeDescription
Optional<Neo4jPersistentProperty> getDynamicLabelsProperty()
Collection<String>
containing dynamic
"runtime managed" labels.boolean isRelationshipPropertiesEntity()
Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.