/**
  * Sets the definition of the sequence ID generator for this class.
  *
  * The definition must have the following structure:
  * <code>
  * array(
  *     'sequenceName'   => 'name',
  *     'allocationSize' => 20,
  *     'initialValue'   => 1
  *     'quoted'         => 1
  * )
  * </code>
  *
  * @param array $definition
  */
 public function setSequenceGeneratorDefinition(array $definition)
 {
     if (!isset($definition['sequenceName'])) {
         throw MappingException::missingSequenceName($this->name);
     }
     if ($definition['sequenceName'][0] == '`') {
         $definition['sequenceName'] = trim($definition['sequenceName'], '`');
         $definition['quoted'] = true;
     }
     $this->sequenceGeneratorDefinition = $definition;
 }