Given the key, returns the entity's name.

@param key java.lang.String
4364
@Override
    public String getName(String key) throws Exception {
        IPortletDefinitionRegistry registry =
                PortletDefinitionRegistryLocator.getPortletDefinitionRegistry();

        IPortletDefinition portletDefinition;
        if (StringUtils.isNumeric(key)) {
            portletDefinition = registry.getPortletDefinition(key);
        } else {
            portletDefinition = registry.getPortletDefinition(key.split("\\.")[1]);
        }
        return portletDefinition.getName();
    }
908897
public V get(String key)
    {
        int index = exactMatchSearch(key);
        if (index >= 0)
        {
            return getValueAt(index);
        }

        return null;
    }
810110
@Nullable
	public String getQueryParameter(@NotNull String key) {
		if (query == -1) {
			return null;
		}
		if (queryPositions == null) {
			parseQueryParameters();
		}
		return findParameter(raw, queryPositions, key);
	}
1272910
public String getValue(String key) {
        KeyValue kv = getKV(key);
        return kv == null ? null : kv.getValue();
    }
875521
public Entity getEntity(String id) {
        Entity e = getEntities().get(id);
        if (e == null) {
            return null;
        }
        return e;
    }
542855
public String getData(String key) {
        QName qn = new QName("data-" + key);
        return this.getOtherAttributes().get(qn);
    }
1301395
protected String getName(final String key) {
        return MetricRegistry.name(DropwizardClusterStatsCollector.class, "cluster", clusterId.applicationName, clusterId.clusterName, key);
    }
1278654
public String getAsString(String key) {
        Object value = mValues.get(key);
        return value != null ? value.toString() : null;
    }
57110
public static String get(MessageKey key) {
        return data.getProperty(key.toString(), key.toString());
    }
1158074
public static String getName(ObjectMeta entity) {
    if (entity != null) {
      return Utils.coalesce(entity.getName(),
        getAdditionalPropertyText(entity.getAdditionalProperties(), "id"),
        entity.getUid());
    } else {
      return null;
    }
  }
70354
protected IEntity getEntityFromCache(String key) throws CachingException {
        return (IEntity)
                EntityCachingService.instance().get(ICompositeGroupService.LEAF_ENTITY_TYPE, key);
    }
609916
public String getString(String key) {
        return resolve0(String.valueOf(bundle.getObject(key)));
    }
623572
public static String getName(String datatypeKey)
    {
    	Datatype datatype = getDatatype(datatypeKey);
    	return datatype.getName();
    }
1309485
public String getString(String key) {
	    Object obj = get(key);
	    if (obj != null && obj instanceof String) {
		    return (String) obj;
	        
		}
	    return null;
	    
	}
598292
@Override
    public String getOrDie(String key) {
        String value = get(key);
        if (value == null) {
            throw new IllegalArgumentException(String.format(ERROR_KEYNOTFOUND, key));
        } else {
            return value;
        }
    }
663509
public Entity getEntityWithKey(String keyName) {
    // [START getEntityWithKey]
    Key key = datastore.newKeyFactory().setKind("MyKind").newKey(keyName);
    Entity entity = datastore.get(key);
    // Do something with the entity
    // [END getEntityWithKey]
    return entity;
  }
1160993
public <T> boolean containsKey(Key<T> key) {
        if (key == null) {
            throw new IllegalArgumentException("key must not be null");
        }
        return data.containsKey(key.getName());
    }