code: public List<ResourceRefType<WebAppDescriptor>> getAllResourceRef()
     {
        List<ResourceRefType<WebAppDescriptor>> list = new ArrayList<ResourceRefType<WebAppDescriptor>>();
        List<Node> nodeList = model.get("resource-ref");
        for(Node node: nodeList)
        {
           ResourceRefType<WebAppDescriptor>  type = new ResourceRefTypeImpl<WebAppDescriptor>(this, "resource-ref", model, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>resource-ref</code> elements
  @return list of <code>resource-ref</code>