将当前的类名转换成数据库表名或者列名。
例如：Blog -> blog， HTTPClient -> http_client, BlogAuthor -> blog_author

@return 转换后的名字
968800
static String nameConvert(String name, boolean mapCamelCaseToUnderscore) {
    if (!mapCamelCaseToUnderscore)
      return name;
    StringBuilder sbd = new StringBuilder();
    char prevChar = name.charAt(0);
    sbd.append(Character.toLowerCase(prevChar));
    for (int i = 1, len = name.length(); i < len; i++) {
      char c = name.charAt(i);
      if (Character.isUpperCase(c)) {
        int next = i + 1;
        char nextChar = (next < len) ? name.charAt(next) : '\0';
        if (Character.isLowerCase(prevChar) || Character.isLowerCase(nextChar)) {
          sbd.append('_');
        }
        sbd.append(Character.toLowerCase(c));
      } else {
        sbd.append(c);
      }
      prevChar = c;
    }
    return sbd.toString();
  }
313497
public Enumeration getHeaderNames() {
        // 321485
        if (TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
            logger.logp(Level.FINE, CLASS_NAME,"getHeaderNames", "this->"+this+": ");
        }

        if (WCCustomProperties.CHECK_REQUEST_OBJECT_IN_USE){
            checkRequestObjectInUse();
        }
        // PK80362 Start
        if( suppressHeadersInRequest == null){        	            
            return _request.getHeaderNames();
        }
        else {// step through the existing enumeration and create a new one without header names listed in custom property     	
            ArrayList alHeaderNames = new ArrayList();
            Enumeration enumHeaderNames = _request.getHeaderNames();
            while( enumHeaderNames.hasMoreElements() ){
                String headerNameParam = (String) enumHeaderNames.nextElement();
                if (!(isHeaderinSuppressedHeadersList(headerNameParam)))
                    alHeaderNames.add(headerNameParam);
            }
            return Collections.enumeration(alHeaderNames); // create new Enumeration
        }
        // return _request.getHeaderNames();
        // PK80362 End
    }
1208647
public synchronized String getSignature() {
        if (signature == null) {
            CachedClass [] parameters = getParameterTypes();
            final String name = getName();
            StringBuilder buf = new StringBuilder(name.length()+parameters.length*10);
            buf.append(getReturnType().getName());
            
            buf.append(' ');
            buf.append(name);
            buf.append('(');
            for (int i = 0; i < parameters.length; i++) {
                if (i > 0) {
                    buf.append(", ");
                }
                buf.append(parameters[i].getName());
            }
            buf.append(')');
            signature = buf.toString();
        }
        return signature;
    }
1105387
public String name() {
    return Charset.isSupported(encoding) ? Charset.forName(encoding).name() : encoding;
  }
1145726
public com.google.protobuf.ByteString
      getAuthDomainBytes() {
    java.lang.Object ref = authDomain_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b = 
          com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      authDomain_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }
982873
public String [] getParamNames() {
		Vector<String> v = new Vector<>();
		// Get the params names from the query
		SortedSet<String> pns = this.getParamNameSet(HtmlParameter.Type.url);
		Iterator<String> iterator = pns.iterator();
		while (iterator.hasNext()) {
			String name = iterator.next();
			if (name != null) {
				v.add(name);
			}
		}
		if (getRequestHeader().getMethod().equalsIgnoreCase(HttpRequestHeader.POST)) {
			// Get the param names from the POST
			pns = this.getParamNameSet(HtmlParameter.Type.form);
		    iterator = pns.iterator();
		    while (iterator.hasNext()) {
				String name = iterator.next();
		        if (name != null) {
		        	v.add(name);
		        }
				
			}
		}
		String [] a = new String [v.size()];
		v.toArray(a);
		return a;
	}
852968
@Override
    public String getVirtualHostName() {
        if (this.isNonSecurePortEnabled()) {
            return configInstance.getStringProperty(namespace + VIRTUAL_HOSTNAME_KEY,
                    super.getVirtualHostName()).get();
        } else {
            return null;
        }
    }
31293
public String toHttpString() {
        StringBuilder sb = new StringBuilder();

        sb.append(getHttpVerb()).append(' ').append(getHttpURI()).append(' ')
                .append(getHttpVersion()).append(HttpProxyConstants.CRLF);

        boolean hostHeaderFound = false;

        if (getHeaders() != null) {
            for (Map.Entry<String, List<String>> header : getHeaders()
                    .entrySet()) {
                if (!hostHeaderFound) {
                    hostHeaderFound = header.getKey().equalsIgnoreCase("host");
                }

                for (String value : header.getValue()) {
                    sb.append(header.getKey()).append(": ").append(value)
                            .append(HttpProxyConstants.CRLF);
                }
            }

            if (!hostHeaderFound
                    && getHttpVersion() == HttpProxyConstants.HTTP_1_1) {
                sb.append("Host: ").append(getHost()).append(
                        HttpProxyConstants.CRLF);
            }
        }

        sb.append(HttpProxyConstants.CRLF);

        return sb.toString();
    }
919788
public String getName()
    {
        if (_name==null)
        {
            _name=this.getClass().getName();
            if (!log.isDebugEnabled())
                _name=_name.substring(_name.lastIndexOf('.')+1);
        }
        return _name;
    }
216221
public function getName()
    {
        $name = '';

        switch ($this->_clientId)
        {
            case Bootstrapper::SITE:
                $name = 'site';
                break;
            case Bootstrapper::ADMIN:
                $name = 'administrator';
                break;
            default:
                $name = 'cli';
                break;
        }

        return $name;
    }
359356
public GetSignatureResponse getSignature(String url) {
        BeanUtil.requireNonNull(url, "请传入当前网页的URL，不包含#及其后面部分");
        //当前时间的秒数
        long timestame = System.currentTimeMillis() / 1000;
        //使用UUID来当随机字符串
        String nonceStr = UUID.randomUUID().toString().replaceAll("-", "");
        return getSignature(nonceStr, timestame, url);
    }
1304019
public function getAuthorNameAttribute()
    {
        $attribute = config('forum.integration.user_name');

        if (!is_null($this->author)) {
            return $this->author->$attribute;
        }

        return null;
    }
746505
public ObjectName getRequestLog()
    {
        Object o = _httpContext.getRequestLog();
        if (o==null)
            return null;
        
        ObjectName[] on=getComponentMBeans(new Object[]{o},_rlMap);
        if (on.length>0)
            return on[0];
        return null;
    }
563631
@Override
    public String getName() {
        CommonProfile profile = this.getProfile();
        if(null == principalNameAttribute) {
            return profile.getId();
        }
        Object attrValue = profile.getAttribute(principalNameAttribute);
        return (null == attrValue) ? null : String.valueOf(attrValue);
    }
26638
public String getName()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.entry(tc, "getName");
    String name = null;
    if(_outputHandler!=null)
    {
      name = _outputHandler.getDestinationName();
    }
    else
    {
      name = _anycastInputHandler.getDestName();
    }
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) 
      SibTr.exit(tc, "getName", name);
    return name;  
  }
658095
public function getAuthor()
    {
        if ($this->author === null) {
            $this->author = $this->authorFactory->create($this->getAuthorId());
        }

        return $this->author;
    }
563928
public String getName() {
        String result = super.getName();

        if (result == null) {
            switch (this.code) {
                case 100:
                    result = "Continue";
                    break;
                case 101:
                    result = "Switching Protocols";
                    break;
                case 102:
                    result = "Processing";
                    break;

                case 200:
                    result = "OK";
                    break;
                case 201:
                    result = "Created";
                    break;
                case 202:
                    result = "Accepted";
                    break;
                case 203:
                    result = "Non-Authoritative Information";
                    break;
                case 204:
                    result = "No Content";
                    break;
                case 205:
                    result = "Reset Content";
                    break;
                case 206:
                    result = "Partial Content";
                    break;
                case 207:
                    result = "Multi-Status";
                    break;

                case 300:
                    result = "Multiple Choices";
                    break;
                case 301:
                    result = "Moved Permanently";
                    break;
                case 302:
                    result = "Found";
                    break;
                case 303:
                    result = "See Other";
                    break;
                case 304:
                    result = "Not Modified";
                    break;
                case 305:
                    result = "Use Proxy";
                    break;
                case 307:
                    result = "Temporary Redirect";
                    break;

                case 400:
                    result = "Bad Request";
                    break;
                case 401:
                    result = "Unauthorized";
                    break;
                case 402:
                    result = "Payment Required";
                    break;
                case 403:
                    result = "Forbidden";
                    break;
                case 404:
                    result = "Not Found";
                    break;
                case 405:
                    result = "Method Not Allowed";
                    break;
                case 406:
                    result = "Not Acceptable";
                    break;
                case 407:
                    result = "Proxy Authentication Required";
                    break;
                case 408:
                    result = "Request Timeout";
                    break;
                case 409:
                    result = "Conflict";
                    break;
                case 410:
                    result = "Gone";
                    break;
                case 411:
                    result = "Length Required";
                    break;
                case 412:
                    result = "Precondition Failed";
                    break;
                case 413:
                    result = "Request Entity Too Large";
                    break;
                case 414:
                    result = "Request URI Too Long";
                    break;
                case 415:
                    result = "Unsupported Media Type";
                    break;
                case 416:
                    result = "Requested Range Not Satisfiable";
                    break;
                case 417:
                    result = "Expectation Failed";
                    break;
                case 422:
                    result = "Unprocessable Entity";
                    break;
                case 423:
                    result = "Locked";
                    break;
                case 424:
                    result = "Failed Dependency";
                    break;

                case 500:
                    result = "Internal Server Error";
                    break;
                case 501:
                    result = "Not Implemented";
                    break;
                case 502:
                    result = "Bad Gateway";
                    break;
                case 503:
                    result = "Service Unavailable";
                    break;
                case 504:
                    result = "Gateway Timeout";
                    break;
                case 505:
                    result = "Version Not Supported";
                    break;
                case 507:
                    result = "Insufficient Storage";
                    break;

                case 1000:
                    result = "Connection Error";
                    break;
                case 1001:
                    result = "Communication Error";
                    break;
                case 1002:
                    result = "Internal Connector Error";
                    break;
            }
        }

        return result;
    }