code: public CmsUUID getProjectId() {
  
          CmsUUID projectId = m_resource.getProjectLastModified();
          if (!getLock().isUnlocked() && !getLock().isInherited()) {
              // use lock project ID only if lock is not inherited
              projectId = getLock().getProjectId();
          }
          return projectId;
      }
docs: Returns the id of the project which the resource belongs to.<p>
  
  @return the id of the project which the resource belongs to