code: public CmsResource buildResource() {
  
          return new CmsResource(
              m_structureId,
              m_resourceId,
              m_rootPath,
              m_type,
              m_flags,
              m_projectLastModified,
              m_state,
              m_dateCreated,
              m_userCreated,
              m_dateLastModified,
              m_userLastModified,
              m_dateReleased,
              m_dateExpired,
              m_length,
              m_flags,
              m_dateContent,
              m_version);
      }
docs: Builds the resource.
  
  @return the cms resource