public function compareSequences(Sequence $oldSequence, Sequence $newSequence)
    {
        return ($oldSequence->getName() !== $newSequence->getName())
            || ($oldSequence->getInitialValue() !== $newSequence->getInitialValue())
            || ($oldSequence->getIncrementSize() !== $newSequence->getIncrementSize());
    }