code: public WebResourceCollectionType<SecurityConstraintType<T>> getOrCreateWebResourceCollection()
     {
        List<Node> nodeList = childNode.get("web-resource-collection");
        if (nodeList != null &&  nodeList.size() > 0)
        {
           return new WebResourceCollectionTypeImpl<SecurityConstraintType<T>>(this, "web-resource-collection", childNode, nodeList.get(0));
        }
        return createWebResourceCollection();
     }
docs: If not already created, a new <code>web-resource-collection</code> element will be created and returned.
  Otherwise, the first existing <code>web-resource-collection</code> element will be returned.
  @return the instance defined for the element <code>web-resource-collection</code>