@Override
	public void checkAssocAddRestriction(ClassSubInstance source,
			ClassSubInstance target, ModelSubInstance m)
			throws RestrictionException {
		Iterator<Map.Entry<Integer, AssociationSubInstance>> it = m.assocs.entrySet().iterator();
		while(it.hasNext()) {
		AssociationSubInstance a = it.next().getValue();
		if(a.target.equals(target) && a.source.equals(source))
			throw new RestrictionException("Can not repeat associations!");
		}
		String type = "";
		for(int i = 0; i < source.meta.enums.size(); ++i)
			if(source.meta.enums.get(i).meta.name.equals("GroupKind"))
				type = source.meta.enums.get(i).chosen_value;
			
		if(type.equals("Alternative")) {
			handleAlternative(m, source);
		}
	}