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 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

      @Nullable Neo4jPersistentPropertyConverter<?> getOptionalConverter()
    • isEntityWithRelationshipProperties

      boolean isEntityWithRelationshipProperties()
      Returns:
      True if this property targets an entity which is a container for relationship properties.
    • computePrefixWithDelimiter

      default String 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.