Module spring.data.neo4j
Interface Neo4jPersistentProperty
- All Superinterfaces:
GraphPropertyDescription,PersistentProperty<Neo4jPersistentProperty>
@API(status=STABLE,
since="6.0")
public interface Neo4jPersistentProperty
extends PersistentProperty<Neo4jPersistentProperty>, GraphPropertyDescription
A
PersistentProperty interface with additional methods for metadata related
to Neo4j.- Since:
- 6.0
- Author:
- Michael J. Simons, Philipp T��lle, Gerrit Meier
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringComputes a prefix to be used on multiple properties on a node when this persistent property is annotated with@CompositeProperty.default booleanDynamic associations are associations to non-simple types stored in a map with a key type of java.lang.String or enum.default booleandefault booleanDynamic 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.booleandefault booleanMethods inherited from interface org.springframework.data.neo4j.core.mapping.GraphPropertyDescription
getActualType, getFieldName, getPropertyName, isComposite, isIdProperty, isInternalIdProperty, isRelationshipMethods inherited from interface org.springframework.data.mapping.PersistentProperty
findAnnotation, findPropertyOrOwnerAnnotation, getAccessorForOwner, getActualType, getAssociation, getAssociationTargetType, getAssociationTargetTypeInformation, getComponentType, getField, getGetter, getMapValueType, getName, getOwner, getPersistentEntityTypeInformation, getRawType, getRequiredAnnotation, getRequiredAssociation, getRequiredField, getRequiredGetter, getRequiredSetter, getRequiredWither, getSetter, getSpelExpression, getType, getTypeInformation, getWither, hasActualTypeAnnotation, isAnnotationPresent, isArray, isAssociation, isCollectionLike, isEntity, isIdProperty, isImmutable, isMap, isReadable, isTransient, isVersionProperty, isWritable, usePropertyAccess
-
Method Details
-
isDynamicAssociation
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.- Returns:
- True, if this association is a dynamic association.
-
isDynamicOneToManyAssociation
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.- Returns:
- True, if this association is a dynamic association with multiple values per type.
- Since:
- 6.0.1
-
isDynamicLabels
default boolean isDynamicLabels()- Returns:
- whether the property is a property describing dynamic labels
- Since:
- 6.0
-
getOptionalConverter
-
isEntityWithRelationshipProperties
boolean isEntityWithRelationshipProperties()- Returns:
- True if this property targets an entity which is a container for relationship properties.
-
computePrefixWithDelimiter
Computes a prefix to be used on multiple properties on a node when this persistent property is annotated with@CompositeProperty.- Returns:
- A valid prefix
-
isReadOnly
default boolean isReadOnly()- Returns:
- true if this is a read only property.
-