code: public static String normalizeEntityName(String possibleEntityString) {
  
  		if (possibleEntityString == null) {
  
  			return null;
  
  		}
  
  		if ("/".equals(possibleEntityString)) {
  
  			return "/";
  
  		}
  
  		final StringBuilder result = new StringBuilder();
  
  		if (possibleEntityString.contains("/")) {
  
  			final String[] names = StringUtils.split(possibleEntityString, "/");
  
  			for (String possibleEntityName : names) {
  
  				// CAUTION: this cache might grow to a very large size, as it
  				// contains all normalized mappings for every possible
  				// property key / entity name that is ever called.
  				String normalizedType = normalizedEntityNameCache.get(possibleEntityName);
  
  				if (normalizedType == null) {
  
  					normalizedType = StringUtils.capitalize(CaseHelper.toUpperCamelCase(stem(possibleEntityName)));
  
  				}
  
  				result.append(normalizedType).append("/");
  
  			}
  
  			return StringUtils.removeEnd(result.toString(), "/");
  
  		} else {
  
  //                      CAUTION: this cache might grow to a very large size, as it
  			// contains all normalized mappings for every possible
  			// property key / entity name that is ever called.
  			String normalizedType = normalizedEntityNameCache.get(possibleEntityString);
  
  			if (normalizedType == null) {
  
  				normalizedType = StringUtils.capitalize(CaseHelper.toUpperCamelCase(stem(possibleEntityString)));
  
  			}
  
  			return normalizedType;
  		}
  	}
docs: Tries to normalize (and singularize) the given string so that it
  resolves to an existing entity type.
  
  @param possibleEntityString
  @return the normalized entity name in its singular form