public function addAssociation($isCollection, $field, $targetMultiModel, array $compatible = array(), array $references = array())
    {
        $mapping = new AssociationDefinition($field, $targetMultiModel, $isCollection);
        $mapping->setCompatible($compatible);
        $mapping->setReferences($references);

        $this->associationMappings[$field] = $mapping;

        return $mapping;
    }