code: public Collection<HierarchicalProperty> getProperties(String name) throws RepositoryException
     {
        ArrayList<HierarchicalProperty> props = new ArrayList<HierarchicalProperty>();
        for (HierarchicalProperty p : properties)
        {
           if (p.getStringName().equals(name))
              props.add(p);
        }
        return props;
        // HierarchicalProperty prop = getProperty(name);
        // if(prop != null)
        // props.add( prop );
        // return props;
     }
docs: /*
  (non-Javadoc)
  @see
  org.exoplatform.services.jcr.ext.resource.NodeRepresentation#getProperties(java.lang.String)