open override fun validate(savingNodes: Set<Node>, relationshipDefinition: RelationshipDefinition, nodeDefinitionCollection: NodeDefinitionCollection)

Called to validate the property Should throw an exception if the property is invalid, with an appropriate reason

Parameters

savingNodes

the nodes which are currently saved

relationshipDefinition

definition of the relationship

nodeDefinitionCollection

used to obtain the inverse of relationshipDefinition