public static HashMap<String, EventTypeTags> addNewEventTypes(
			Connection dbCon, String[] eventTypeUuids, String uniqueTypes[],
			String[][] eventTypeTags) throws MobbedException {
		HashMap<String, EventTypeTags> eventTypeMap = new HashMap<String, EventTypeTags>();
		HashMap<String, String> tagMap = null;
		UUID eventTypeUuid = null;
		if (!ManageDB.isEmpty(eventTypeUuids))
			eventTypeMap = retrieveEventTypeMap(dbCon, eventTypeUuids);
		EventTypes newEventType = new EventTypes(dbCon);
		for (int i = 0; i < uniqueTypes.length; i++) {
			if (!eventTypeMap.containsKey(uniqueTypes[i].toUpperCase())) {
				newEventType.reset(uniqueTypes[i], null);
				newEventType.save();
				eventTypeUuid = newEventType.getEventTypeUuid();
				if (!ManageDB.isEmpty(eventTypeTags)
						&& !ManageDB.isEmpty(eventTypeTags[i][0]))
					tagMap = addAllTags(dbCon, eventTypeUuid, eventTypeTags[i]);
				EventTypeTags etm = new EventTypeTags(eventTypeUuid, tagMap);
				eventTypeMap.put(uniqueTypes[i].toUpperCase(), etm);
			} else {
				eventTypeUuid = eventTypeMap.get(uniqueTypes[i].toUpperCase())
						.getEventTypeUuid();
				tagMap = eventTypeMap.get(uniqueTypes[i].toUpperCase())
						.getTags();
				if (eventTypeTags != null
						&& !ManageDB.isEmpty(eventTypeTags[i][0]))
					tagMap = addNewTags(dbCon, tagMap, eventTypeUuid,
							eventTypeTags[i]);
				EventTypeTags etm = new EventTypeTags(eventTypeUuid, tagMap);
				eventTypeMap.put(uniqueTypes[i].toUpperCase(), etm);
			}
		}
		return eventTypeMap;
	}