|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 列舉常數 | 欄位 | 方法 | 詳細資訊: 列舉常數 | 欄位 | 方法 | |||||||||
java.lang.Objectjava.lang.Enum<ClientInfoStatus>
java.sql.ClientInfoStatus
public enum ClientInfoStatus
無法通過調用 Connection.setClientInfo 設置屬性的原因狀態的列舉。
| 列舉常數摘要 | |
|---|---|
REASON_UNKNOWN
由於某種未知原因而無法設置客戶端資訊屬性 |
|
REASON_UNKNOWN_PROPERTY
指定的客戶端資訊屬性不是一個可識別的屬性名稱。 |
|
REASON_VALUE_INVALID
為客戶端資訊屬性指定的值無效。 |
|
REASON_VALUE_TRUNCATED
為客戶端資訊屬性指定的值太大。 |
|
| 方法摘要 | |
|---|---|
static ClientInfoStatus |
valueOf(String name)
返回帶有指定名稱的該型別的列舉常數。 |
static ClientInfoStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 從類別 java.lang.Enum 繼承的方法 |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| 從類別 java.lang.Object 繼承的方法 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 列舉常數詳細資訊 |
|---|
public static final ClientInfoStatus REASON_UNKNOWN
public static final ClientInfoStatus REASON_UNKNOWN_PROPERTY
public static final ClientInfoStatus REASON_VALUE_INVALID
public static final ClientInfoStatus REASON_VALUE_TRUNCATED
| 方法詳細資訊 |
|---|
public static final ClientInfoStatus[] values()
for(ClientInfoStatus c : ClientInfoStatus.values())
System.out.println(c);
public static ClientInfoStatus valueOf(String name)
指定要返回的列舉常數的名稱。 -
如果該列舉型別沒有帶有指定名稱的常數, - 則拋出 IllegalArgumentException
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 列舉常數 | 欄位 | 方法 | 詳細資訊: 列舉常數 | 欄位 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。