public SecurityRoleType<WebFragmentType<T>> getOrCreateSecurityRole()
   {
      List<Node> nodeList = childNode.get("security-role");
      if (nodeList != null &&  nodeList.size() > 0)
      {
         return new SecurityRoleTypeImpl<WebFragmentType<T>>(this, "security-role", childNode, nodeList.get(0));
      }
      return createSecurityRole();
   }
public SecurityRoleType < WebFragmentType < T > > getOrCreateSecurityRole ( ) { List < Node > nodeList = childNode . get ( "security-role" ) ; if ( nodeList != null && nodeList . size ( ) > 0 ) { return new SecurityRoleTypeImpl < WebFragmentType < T > > ( this , "security-role" , childNode , nodeList . get ( 0 ) ) ; } return createSecurityRole ( ) ; }
If not already created, a new <code>security-role</code> element will be created and returned.
Otherwise, the first existing <code>security-role</code> element will be returned.
@return the instance defined for the element <code>security-role</code>