public function persistRelationshipEntity($entity, $pov)
{
$oid = spl_object_hash($entity);
if (!array_key_exists($oid, $this->relationshipEntityStates)) {
$this->relEntitiesScheduledForCreate[$oid] = [$entity, $pov];
$this->relationshipEntityStates[$oid] = self::STATE_NEW;
}
}