- All Known Implementing Classes:
NodeModel,RelationshipModel
public interface PropertyContainer
- Author:
- Frantisek Hartman, Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCurrentDynamicCompositeProperties(Set<String> additionalDynamicCompositeProperties) createPropertyRemovalFragment(String variable) Should create the Cypher fragment that removes previous composite properties that aren't in the container anymore.getId()Return current version of the node, null if the relationship entity is newvoidsetPreviousDynamicCompositeProperties(Set<String> previousDynamicCompositeProperties)
-
Method Details
-
getId
Long getId() -
getVersion
Return current version of the node, null if the relationship entity is new- Returns:
- version property with current version
-
setPreviousDynamicCompositeProperties
-
addCurrentDynamicCompositeProperties
-
createPropertyRemovalFragment
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.
-