public function __construct(Mapper $mapper, $entityName, $foreignKey, $localKey, $identityValue)
{
$this->mapper = $mapper;
$this->entityName = $entityName;
$this->foreignKey = $foreignKey;
$this->localKey = $localKey;
$this->identityValue = $identityValue;
}