Returns the simple name of the project.<p>

@return the simple name of the project
192790
public String getName() {

        String name = m_project.getSimpleName();
        if (CmsStringUtil.isEmptyOrWhitespaceOnly(name) || name.equals("/")) {
            name = "";
        }
        return name;
    }
169871
public String getName() {
    ResourceServices services = getServices();
    return (services != null) ? services.getResourceName() : null;
  }
808782
public String getLockedInProjectName() {

        try {
            CmsUUID pId = getLockedInProjectId();
            if ((pId == null) || pId.isNullUUID()) {
                // the resource is unlocked and unchanged
                return "";
            }
            try {
                return getCurrentOuRelativeName(getCms().readProject(pId).getName());
            } catch (CmsDbEntryNotFoundException e) {
                return getCurrentOuRelativeName(getCms().readHistoryProject(pId).getName());
            }
        } catch (Throwable e) {
            LOG.error(e.getLocalizedMessage(), e);
            return "";
        }
    }
1196847
@Override
	public String getName()
	{
		StringBuilder result = new StringBuilder();
		String prefix = "";

		for (IPOContext ctxt : this)
		{
			String name = ctxt.getName();

			if (name.length() > 0)
			{
				result.append(prefix);
				result.append(name);
				prefix = ", ";
			}
		}

		return result.toString();
	}
46789
public java.lang.String getPivotName() {
    java.lang.Object ref = pivotName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      pivotName_ = s;
      return s;
    }
  }
382626
public String getPathName()
    {
    if( pathName_ == null)
      {
      StringBuilder pathName = new StringBuilder();

      IVarDef parent = getParent();
      if( parent != null)
        {
        pathName
          .append( parent.getPathName())
          .append( '.');
        }

      String name = getName();
      if( name != null)
        {
        pathName.append( name);
        }

      pathName_ = pathName.toString();
      }

    return pathName_;
    }
353743
public Object getTitleOrName() {

        String result = getTitle();
        if (CmsStringUtil.isEmptyOrWhitespaceOnly(result)) {
            result = getPath();
        }
        return result;
    }
638940
private String getProjectIdForProjectName(String projectName) throws SDKException {
    String projectId =
        this.getProjectAgent()
            .findAll()
            .stream()
            .filter(p -> p.getName().equals(projectName))
            .findFirst()
            .orElseThrow(
                () ->
                    new SDKException(
                        "Did not find a Project named " + projectName,
                        null,
                        "Did not find a Project named " + projectName))
            .getId();
    this.projectAgent = null;
    return projectId;
  }
432943
public String getName() {

        String name = getName(m_rootPath);
        if (name.charAt(name.length() - 1) == '/') {
            return name.substring(0, name.length() - 1);
        } else {
            return name;
        }
    }
289409
protected String extractProjectName(final BuildEvent event) {
        final Project project = event.getProject();
        return (project != null) ? project.getName() : null;
    }
234530
public String getName() {
		switch (messageType) {
		case ALLOCATE_REQUEST:
			return "ALLOCATE-REQUEST";
		case ALLOCATE_RESPONSE:
			return "ALLOCATE-RESPONSE";
		case ALLOCATE_ERROR_RESPONSE:
			return "ALLOCATE-ERROR-RESPONSE";
		case BINDING_REQUEST:
			return "BINDING-REQUEST";
		case BINDING_SUCCESS_RESPONSE:
			return "BINDING-RESPONSE";
		case BINDING_ERROR_RESPONSE:
			return "BINDING-ERROR-RESPONSE";
		case CREATEPERMISSION_REQUEST:
			return "CREATE-PERMISSION-REQUEST";
		case CREATEPERMISSION_RESPONSE:
			return "CREATE-PERMISSION-RESPONSE";
		case CREATEPERMISSION_ERROR_RESPONSE:
			return "CREATE-PERMISSION-ERROR-RESPONSE";
		case DATA_INDICATION:
			return "DATA-INDICATION";
		case REFRESH_REQUEST:
			return "REFRESH-REQUEST";
		case REFRESH_RESPONSE:
			return "REFRESH-RESPONSE";
		case REFRESH_ERROR_RESPONSE:
			return "REFRESH-ERROR-RESPONSE";
		case SEND_INDICATION:
			return "SEND-INDICATION";
		case SHARED_SECRET_REQUEST:
			return "SHARED-SECRET-REQUEST";
		case SHARED_SECRET_RESPONSE:
			return "SHARED-SECRET-RESPONSE";
		case SHARED_SECRET_ERROR_RESPONSE:
			return "SHARED-SECRET-ERROR-RESPONSE";
		default:
			return "UNKNOWN-MESSAGE";
		}
	}
922298
@Deprecated
  @SuppressWarnings("WeakerAccess")
  public com.google.bigtable.admin.v2.ProjectName getProjectName() {
    return com.google.bigtable.admin.v2.ProjectName.of(projectId);
  }
93874
protected String getName(String sitePath) {

        String name = CmsResource.getName(sitePath);
        if (name.endsWith("/")) {
            name = name.substring(0, name.length() - 1);
        }
        return name;

    }
672257
protected String generateProjectName(CmsObject userCms) {

        String projectName = generateProjectName(userCms, true);
        if (existsProject(projectName)) {
            projectName = generateProjectName(userCms, false);
        }
        return projectName;
    }
905773
private String getProject(CmsObject cms, CmsFavoriteEntry entry) throws CmsException {

        String result = m_projectLabels.get(entry.getProjectId());
        if (result == null) {
            result = cms.readProject(entry.getProjectId()).getName();
            m_projectLabels.put(entry.getProjectId(), result);
        }
        return result;
    }
796156
public static String simpleName(TypeName clazzName) {
		String clazz = clazzName.toString();
		int index = clazz.lastIndexOf(".");
		if (index > 0) {
			clazz=clazz.substring(index + 1);
		}
		return clazz;
	}
76294
public String getName() {
    Class<? extends AbstractProcessApplication> processApplicationClass = getClass();
    String name = null;

    ProcessApplication annotation = processApplicationClass.getAnnotation(ProcessApplication.class);
    if (annotation != null) {
      name = annotation.value();

      if (name == null || name.length() == 0) {
        name = annotation.name();
      }
    }


    if (name == null || name.length() == 0) {
      name = autodetectProcessApplicationName();
    }

    return name;
  }