code: public String getDisplayText() {
  		if(entity != null) {
  			String name = entity.getName();
  			String key = entity.getKey();
  			if(!StringUtils.isEmpty(name)) {
  				return name;
  			}
  			return key;
  		}
  		return entityKey;
  	}
docs: Returns the text to display for this action when rendering on screen (e.g. in a list)
  @return