|
|||||||||||
| 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.ResultSetTypeEnum
This is an enumeration of the supported Result Set types. These types are used in the creation of a connection for the purposes of configuring the type of Result Set that will be returned.
Copyright 2002 Sapient
ResultSet,
Serialized Form| Nested Class Summary | |
static class |
ResultSetTypeEnum.ResultSetTypeEnumNotFoundException
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 ResultSetTypeEnum |
FORWARD_ONLY
Represents the forward only type of result set |
static ResultSetTypeEnum |
SCROLL_INSENSITIVE
Represents the scroll insensitive type of result set |
static ResultSetTypeEnum |
SCROLL_SENSITIVE
Represents the scroll sensitive type of result set |
| Fields inherited from class org.sape.carbon.core.util.enum.BaseEnum |
name, ordinal |
| Constructor Summary | |
private |
ResultSetTypeEnum(String name,
int ordinal)
Constructs a enumeration of type ResultSetTypeEnum |
| Method Summary | |
static ResultSetTypeEnum |
getByName(String name)
Looks up a ResultSetTypeEnum by its string representation |
static ResultSetTypeEnum |
getByOrdinal(int ordinal)
Looks up a ResultSetTypeEnum 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 ResultSetTypeEnum FORWARD_ONLY
ResultSet.TYPE_FORWARD_ONLYpublic static final ResultSetTypeEnum SCROLL_INSENSITIVE
ResultSet.TYPE_SCROLL_INSENSITIVEpublic static final ResultSetTypeEnum SCROLL_SENSITIVE
ResultSet.TYPE_SCROLL_SENSITIVE| Constructor Detail |
private ResultSetTypeEnum(String name,
int ordinal)
ResultSetTypeEnum
name - the String name of a enumeration instanceordinal - the integer ordinal value of a specific
enumeration instance| Method Detail |
public static final ResultSetTypeEnum getByName(String name)
throws ResultSetTypeEnum.ResultSetTypeEnumNotFoundException
ResultSetTypeEnum by its string representation
name - the String name of a enumeration instance
ResultSetTypeEnum
ResultSetTypeEnum.ResultSetTypeEnumNotFoundException - when there is no
enumeration instance for the given name
public static ResultSetTypeEnum getByOrdinal(int ordinal)
throws ResultSetTypeEnum.ResultSetTypeEnumNotFoundException
ResultSetTypeEnum by its ordinal representation
ordinal - the integer ordinal value of a specific
enumeration instance
ResultSetTypeEnum
ResultSetTypeEnum.ResultSetTypeEnumNotFoundException - when there is no
enumeration instance for the given ordinalpublic static Iterator iterator()
ResultSetTypeEnum
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 | ||||||||||