code: public List<EventDefinitionType<PortletAppType<T>>> getAllEventDefinition()
     {
        List<EventDefinitionType<PortletAppType<T>>> list = new ArrayList<EventDefinitionType<PortletAppType<T>>>();
        List<Node> nodeList = childNode.get("event-definition");
        for(Node node: nodeList)
        {
           EventDefinitionType<PortletAppType<T>>  type = new EventDefinitionTypeImpl<PortletAppType<T>>(this, "event-definition", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>event-definition</code> elements
  @return list of <code>event-definition</code>