schemacrawler.crawl
Class JavaSqlType

java.lang.Object
  extended by schemacrawler.crawl.JavaSqlType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JavaSqlType>

public final class JavaSqlType
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<JavaSqlType>

A wrapper around java.sql.Types.

Author:
Sualeh Fatehi
See Also:
Serialized Form

Nested Class Summary
static class JavaSqlType.JavaSqlTypeGroup
           
 
Field Summary
static JavaSqlType UNKNOWN
          Unknown SQL data type.
 
Method Summary
 int compareTo(JavaSqlType otherSqlDataType)
           
 boolean equals(java.lang.Object obj)
           
 int getJavaSqlType()
          The java.sql.Types type.
 JavaSqlType.JavaSqlTypeGroup getJavaSqlTypeGroup()
           
 java.lang.String getJavaSqlTypeMappedClassName()
           
 java.lang.String getJavaSqlTypeName()
          The java.sql.Types type name.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNKNOWN

public static final JavaSqlType UNKNOWN
Unknown SQL data type.

Method Detail

compareTo

public int compareTo(JavaSqlType otherSqlDataType)
Specified by:
compareTo in interface java.lang.Comparable<JavaSqlType>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getJavaSqlType

public int getJavaSqlType()
The java.sql.Types type.

Returns:
java.sql.Types type

getJavaSqlTypeGroup

public JavaSqlType.JavaSqlTypeGroup getJavaSqlTypeGroup()

getJavaSqlTypeMappedClassName

public java.lang.String getJavaSqlTypeMappedClassName()

getJavaSqlTypeName

public java.lang.String getJavaSqlTypeName()
The java.sql.Types type name.

Returns:
java.sql.Types type names

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2009 Sualeh Fatehi. All Rights Reserved.