Class JdbcTypeCategoryEnum
java.lang.Object
org.apache.commons.lang.enums.Enum
org.apache.commons.lang.enums.ValuedEnum
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.model.JdbcTypeCategoryEnum
- All Implemented Interfaces:
Serializable
,Comparable
public class JdbcTypeCategoryEnum
extends org.apache.commons.lang.enums.ValuedEnum
Represents the different categories of jdbc types.
- Version:
- $Revision: $
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JdbcTypeCategoryEnum
The enum value for binary jdbc types.static final JdbcTypeCategoryEnum
The enum value for date/time jdbc types.static final JdbcTypeCategoryEnum
The enum value for numeric jdbc types.static final JdbcTypeCategoryEnum
The enum value for other jdbc types.static final JdbcTypeCategoryEnum
The enum value for special jdbc types.static final JdbcTypeCategoryEnum
The enum value for textual jdbc types.static final int
The integer value for the enum value for binary jdbc types.static final int
The integer value for the enum value for date/time jdbc types.static final int
The integer value for the enum value for numeric jdbc types.static final int
The integer value for the enum value for all other jdbc types.static final int
The integer value for the enum value for special jdbc types.static final int
The integer value for the enum value for textual jdbc types.Fields inherited from class org.apache.commons.lang.enums.Enum
iToString
-
Method Summary
Modifier and TypeMethodDescriptionstatic JdbcTypeCategoryEnum
getEnum
(int intValue) Returns the enum value that corresponds to the given integer representation.static JdbcTypeCategoryEnum
Returns the enum value that corresponds to the given textual representation.static List
Returns a list of all enum values.static Map
Returns the map of enum values.static Iterator
iterator()
Returns an iterator of all enum values.Methods inherited from class org.apache.commons.lang.enums.ValuedEnum
compareTo, getEnum, getValue, toString
Methods inherited from class org.apache.commons.lang.enums.Enum
equals, getEnum, getEnumClass, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve
-
Field Details
-
VALUE_NUMERIC
public static final int VALUE_NUMERICThe integer value for the enum value for numeric jdbc types.- See Also:
-
VALUE_DATETIME
public static final int VALUE_DATETIMEThe integer value for the enum value for date/time jdbc types.- See Also:
-
VALUE_TEXTUAL
public static final int VALUE_TEXTUALThe integer value for the enum value for textual jdbc types.- See Also:
-
VALUE_BINARY
public static final int VALUE_BINARYThe integer value for the enum value for binary jdbc types.- See Also:
-
VALUE_SPECIAL
public static final int VALUE_SPECIALThe integer value for the enum value for special jdbc types.- See Also:
-
VALUE_OTHER
public static final int VALUE_OTHERThe integer value for the enum value for all other jdbc types.- See Also:
-
NUMERIC
The enum value for numeric jdbc types. -
DATETIME
The enum value for date/time jdbc types. -
TEXTUAL
The enum value for textual jdbc types. -
BINARY
The enum value for binary jdbc types. -
SPECIAL
The enum value for special jdbc types. -
OTHER
The enum value for other jdbc types.
-
-
Method Details
-
getEnum
Returns the enum value that corresponds to the given textual representation.- Parameters:
defaultTextRep
- The textual representation- Returns:
- The enum value
-
getEnum
Returns the enum value that corresponds to the given integer representation.- Parameters:
intValue
- The integer value- Returns:
- The enum value
-
getEnumMap
Returns the map of enum values.- Returns:
- The map of enum values
-
getEnumList
Returns a list of all enum values.- Returns:
- The list of enum values
-
iterator
Returns an iterator of all enum values.- Returns:
- The iterator
-