code: public Integer getLoginTimeout()
     {
        if (childNode.getTextValueForPatternName("login-timeout") != null && !childNode.getTextValueForPatternName("login-timeout").equals("null")) {
           return Integer.valueOf(childNode.getTextValueForPatternName("login-timeout"));
        }
        return null;
     }
docs: Returns the <code>login-timeout</code> element
  @return the node defined for the element <code>login-timeout</code>