Interface PropertyContainer

All Known Subinterfaces:
Edge, Node
All Known Implementing Classes:
NodeModel, RelationshipModel

public interface PropertyContainer
Common interface for Node and Edge to allow common query generation
Author:
Frantisek Hartman, Michael J. Simons
  • Method Details

    • getId

      Long getId()
    • getVersion

      Property<String,Long> getVersion()
      Return current version of the node, null if the relationship entity is new
      Returns:
      version property with current version
    • setPreviousDynamicCompositeProperties

      void setPreviousDynamicCompositeProperties(Set<String> previousDynamicCompositeProperties)
    • addCurrentDynamicCompositeProperties

      void addCurrentDynamicCompositeProperties(Set<String> additionalDynamicCompositeProperties)
    • createPropertyRemovalFragment

      String createPropertyRemovalFragment(String variable)
      Should create the Cypher fragment that removes previous composite properties that aren't in the container anymore.
      Parameters:
      variable - The variable of the node or relationship to defer.