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