|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.sape.carbon.core.util.enum.BaseEnum
|
+--org.sape.carbon.services.sql.ResultSetConcurrencyEnum
This enumeration represents the types of concurrency supported in JDBC connections.
Copyright 2002 Sapient
ResultSet,
Serialized Form| Nested Class Summary | |
static class |
ResultSetConcurrencyEnum.ResultSetConcurrencyEnumNotFoundException
This class is a typesafe retriever excepection for an enumeration |
| Nested classes inherited from class org.sape.carbon.core.util.enum.BaseEnum |
|
| Field Summary | |
static ResultSetConcurrencyEnum |
CONCUR_READ_ONLY
Represents the read-only type of concurrency |
static ResultSetConcurrencyEnum |
CONCUR_UPDATABLE
Represents the updatable type of concurrency |
| Fields inherited from class org.sape.carbon.core.util.enum.BaseEnum |
name, ordinal |
| Constructor Summary | |
private |
ResultSetConcurrencyEnum(String name,
int ordinal)
Constructs a enumeration of type ResultSetConcurrencyEnum |
| Method Summary | |
static ResultSetConcurrencyEnum |
getByName(String name)
Looks up a ResultSetConcurrencyEnum by its
string representation |
static ResultSetConcurrencyEnum |
getByOrdinal(int ordinal)
Looks up a ResultSetConcurrencyEnum by its
ordinal representation |
static Iterator |
iterator()
Retrieves and iterator by ascending ordinal order for all enumerations of this type. |
(package private) Object |
readResolve()
Overrides part of serialization to return a reference to an enumeration instance that is managed by the Enumeration Subsystem. |
| Methods inherited from class org.sape.carbon.core.util.enum.BaseEnum |
equals, getByName, getByOrdinal, getName, getOrdinal, hashCode, iterator, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final ResultSetConcurrencyEnum CONCUR_READ_ONLY
ResultSet.CONCUR_READ_ONLYpublic static final ResultSetConcurrencyEnum CONCUR_UPDATABLE
ResultSet.CONCUR_UPDATABLE| Constructor Detail |
private ResultSetConcurrencyEnum(String name,
int ordinal)
ResultSetConcurrencyEnum
name - the String representation of this enumerationordinal - the integer ordinal value of a specific| Method Detail |
public static final ResultSetConcurrencyEnum getByName(String name)
throws ResultSetConcurrencyEnum.ResultSetConcurrencyEnumNotFoundException
ResultSetConcurrencyEnum by its
string representation
name - the String name of a enumeration instance
ResultSetConcurrencyEnum
ResultSetConcurrencyEnum.ResultSetConcurrencyEnumNotFoundException - when there is no
enumeration instance for the given name
public static ResultSetConcurrencyEnum getByOrdinal(int ordinal)
throws ResultSetConcurrencyEnum.ResultSetConcurrencyEnumNotFoundException
ResultSetConcurrencyEnum by its
ordinal representation
ordinal - the integer ordinal value of a specific
enumeration instance
ResultSetConcurrencyEnum
ResultSetConcurrencyEnum.ResultSetConcurrencyEnumNotFoundException - when there is no
enumeration instance for the given ordinalpublic static Iterator iterator()
ResultSetConcurrencyEnum
final Object readResolve()
throws ObjectStreamException
ObjectStreamException - indicates there is a failure to
resolve the streamed object due to a format or read io
exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||