code: @SuppressWarnings("unchecked")
  	public static EObject createEntry(String key, Object value, EClass type) {
  		if (type == EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY) {
  
  			final EObject entry = EcoreUtil.create(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY);
  			entry.eSet(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY__KEY, key);
  			entry.eSet(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY__VALUE, value);
  
  			return entry;
  
  		} else {
  
  			final BasicEMapEntry entry = new BasicEMapEntry<>();
  			entry.eSetClass(type);
  			entry.setKey(key);
  			entry.setValue(value);
  
  			return entry;
  
  		}
  	}
docs: Creates a map entry of type string, string.
  
  @param key   of entry
  @param value of entry
  @return entry