code: private void readResource(Document.Resources.Resource resource)
     {
        Resource mpxjResource = m_projectFile.addResource();
        mpxjResource.setName(resource.getName());
        mpxjResource.setResourceCalendar(m_calendarMap.get(resource.getCalendarID()));
        mpxjResource.setStandardRate(new Rate(resource.getCost(), resource.getCostTimeUnit()));
        mpxjResource.setEmailAddress(resource.getEMail());
        mpxjResource.setGroup(resource.getGroup());
        //resource.getHyperlinks()
        mpxjResource.setUniqueID(resource.getID());
        //resource.getMarkerID()
        mpxjResource.setNotes(resource.getNote());
        mpxjResource.setID(Integer.valueOf(resource.getOutlineNumber()));
        //resource.getStyleProject()
        mpxjResource.setType(resource.getSubType() == null ? resource.getType() : resource.getSubType());
     }
docs: Reads a single resource from a ConceptDraw PROJECT file.
  
  @param resource ConceptDraw PROJECT resource