code: public HierarchicalProperty getProperty(String name) throws RepositoryException
     {
        if ("jcr:primaryType".equals(name) || "jcr:mixinTypes".equals(name))
           return null;
  
        if (content == null)
           return null;
  
        if (content.getProperty(name) != null)
        {
           return content.getProperty(name);
        }
  
        try
        {
  
           String value;
           Property p = node.getProperty(name);
           if (p.getDefinition().isMultiple())
           {
              if (p.getValues().length == 0)
                 value = "";
              else
                 value = p.getValues()[0].getString();
           }
           else
           {
              value = p.getString();
           }
  
           //String value = node.getProperty(name).getString();
  
           String ns = ((ExtendedSession)node.getSession()).getLocationFactory().parseJCRName(name).getNamespace();
           return new HierarchicalProperty(name, value, ns);
        }
        catch (PathNotFoundException e)
        {
           return null;
        }
  
     }
docs: /*
  (non-Javadoc)
  @see org.exoplatform.services.jcr.ext.resource.NodeRepresentation#getProperty(java.lang.String)