@API(status=STABLE, since="6.0") public interface Neo4jPersistentProperty extends PersistentProperty<Neo4jPersistentProperty>, GraphPropertyDescription
PersistentProperty
interface with additional methods for metadata related
to Neo4j.Modifier and Type | Method and Description |
---|---|
default String |
computePrefixWithDelimiter()
Computes a prefix to be used on multiple properties on a node when this persistent property is annotated with
@CompositeProperty . |
Function<org.neo4j.driver.Value,Object> |
getOptionalReadingConverter() |
Function<Object,org.neo4j.driver.Value> |
getOptionalWritingConverter() |
default boolean |
isDynamicAssociation()
Dynamic associations are associations to non-simple types stored in a map with a key type of
java.lang.String or enum.
|
default boolean |
isDynamicLabels() |
default boolean |
isDynamicOneToManyAssociation()
Dynamic one-to-many associations are associations to non-simple types stored in a map with a key type of
java.lang.String and values of java.util.Collection.
|
boolean |
isEntityWithRelationshipProperties() |
findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypes, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isImmutable, isMap, isTransient, isVersionProperty, isWritable, usePropertyAccess
getActualType, getFieldName, getPropertyName, isComposite, isIdProperty, isInternalIdProperty, isRelationship
default boolean isDynamicAssociation()
default boolean isDynamicOneToManyAssociation()
default boolean isDynamicLabels()
@Nullable Function<Object,org.neo4j.driver.Value> getOptionalWritingConverter()
@Nullable Function<org.neo4j.driver.Value,Object> getOptionalReadingConverter()
boolean isEntityWithRelationshipProperties()
default String computePrefixWithDelimiter()
@CompositeProperty
.Copyright © 2019–2021 Neo4j, Neo4j Sweden AB. All rights reserved.