public Collection<String> getPropertyNames() throws RepositoryException
   {

      HashSet<String> props = new HashSet<String>();
      for (HierarchicalProperty p : properties)
      {
         props.add(p.getStringName());
      }
      return props;

      // PropertyIterator iter = node.getProperties();
      // ArrayList<String> props = new ArrayList<String>();
      // while (iter.hasNext()) {
      // String name = iter.nextProperty().getName();
      // if (!"jcr:primaryType".equals(name) && !"jcr:mixinTypes".equals(name)
      // && !"jcr:data".equals(name) && !"jcr:uuid".equals(name))
      // props.add(name);
      // }
      // return props;
   }
public Collection < String > getPropertyNames ( ) throws RepositoryException { HashSet < String > props = new HashSet < String > ( ) ; for ( HierarchicalProperty p : properties ) { props . add ( p . getStringName ( ) ) ; } return props ; }
/*
(non-Javadoc)
@see org.exoplatform.services.jcr.ext.resource.NodeRepresentation#getPropertyNames()