code: private Resource readResource(net.sf.mpxj.phoenix.schema.Project.Storepoints.Storepoint.Resources.Resource phoenixResource)
     {
        Resource mpxjResource = m_projectFile.addResource();
  
        TimeUnit rateUnits = phoenixResource.getMonetarybase();
        if (rateUnits == null)
        {
           rateUnits = TimeUnit.HOURS;
        }
  
        // phoenixResource.getMaximum()
        mpxjResource.setCostPerUse(phoenixResource.getMonetarycostperuse());
        mpxjResource.setStandardRate(new Rate(phoenixResource.getMonetaryrate(), rateUnits));
        mpxjResource.setStandardRateUnits(rateUnits);
        mpxjResource.setName(phoenixResource.getName());
        mpxjResource.setType(phoenixResource.getType());
        mpxjResource.setMaterialLabel(phoenixResource.getUnitslabel());
        //phoenixResource.getUnitsperbase()
        mpxjResource.setGUID(phoenixResource.getUuid());
  
        m_eventManager.fireResourceReadEvent(mpxjResource);
  
        return mpxjResource;
     }
docs: This method extracts data for a single resource from a Phoenix file.
  
  @param phoenixResource resource data
  @return Resource instance