br.ufg.integrate.xml.type
Class JDBCType

java.lang.Object
  extended by br.ufg.integrate.xml.type.JDBCType

public class JDBCType
extends Object

Version:
0.1 Bean que mantém os tipos de dados JDBC definidos no arquivo de configuração dos tipos de dados reais do SGBD. Com esta classe, é possível converter os tipos de dados definidos no SGBD para os tipos de dados definidos na API JDBC, o que permite a conversão dos tipos JDBC para os tipos XML Schema de maneira direta.
Author:
Rogerio

Constructor Summary
JDBCType()
           
 
Method Summary
 String getBigIntType()
           
 String getBinaryType()
           
 String getBitType()
           
 String getBlobType()
           
 String getBooleanType()
           
 String getCharType()
           
 String getClobType()
           
 String getDataSourceTypesClass()
          Classe que implementa a intercace DataSourceTypes
 String getDateType()
           
 String getDecimalType()
           
 String getDoubleType()
           
 String getFloatType()
           
 String getIntegerType()
           
 String getLongVarBinaryType()
           
 String getLongVarCharType()
           
 String getNumericType()
           
 String getRealType()
           
 String getSmallIntType()
           
 String getTimestampType()
           
 String getTimeType()
           
 String getTinyIntType()
           
 Map<String,String> getTypes()
          Retorna o mapeamento entre os tipos JDBC para XML Schema.
 String getVarBinaryType()
           
 String getVarCharType()
           
 void setBigIntType(String bigIntType)
           
 void setBinaryType(String binaryType)
           
 void setBitType(String bitType)
           
 void setBlobType(String blobType)
           
 void setBooleanType(String booleanType)
           
 void setCharType(String charType)
           
 void setClobType(String clobType)
           
 void setDataSourceTypesClass(String aTypeClass)
          Seta a classe que implementa a interface DataSourceTypes.
 void setDateType(String dateType)
           
 void setDecimalType(String decimalType)
           
 void setDoubleType(String doubleType)
           
 void setFloatType(String floatType)
           
 void setIntegerType(String integerType)
           
 void setLongVarBinaryType(String longVarBinaryType)
           
 void setLongVarCharType(String longVarCharType)
           
 void setNumericType(String numericType)
           
 void setRealType(String realType)
           
 void setSmallIntType(String smallIntType)
           
 void setTimestampType(String timestampType)
           
 void setTimeType(String timeType)
           
 void setTinyIntType(String tinyIntType)
           
 void setTypes()
          Monta a coleção de tipos JDBC contendo os valores definidos no arquivo de configuração de tipos.
 void setVarBinaryType(String varBinaryType)
           
 void setVarCharType(String varCharType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBCType

public JDBCType()
Method Detail

getBigIntType

public String getBigIntType()
Returns:
Returns the bigIntType.

getBinaryType

public String getBinaryType()
Returns:
Returns the binaryType.

getBitType

public String getBitType()
Returns:
Returns the bitType.

getBlobType

public String getBlobType()
Returns:
Returns the blobType.

getBooleanType

public String getBooleanType()
Returns:
Returns the booleanType.

getCharType

public String getCharType()
Returns:
Returns the charType.

getClobType

public String getClobType()
Returns:
Returns the clobType.

getDataSourceTypesClass

public String getDataSourceTypesClass()
Classe que implementa a intercace DataSourceTypes

Returns:
Classe que implementa a intercace DataSourceTypes

getDateType

public String getDateType()
Returns:
Returns the dateType.

getDecimalType

public String getDecimalType()
Returns:
Returns the decimalType.

getDoubleType

public String getDoubleType()
Returns:
Returns the doubleType.

getFloatType

public String getFloatType()
Returns:
Returns the floatType.

getIntegerType

public String getIntegerType()
Returns:
Returns the integerType.

getLongVarBinaryType

public String getLongVarBinaryType()
Returns:
Returns the longVarBinaryType.

getLongVarCharType

public String getLongVarCharType()
Returns:
Returns the longVarCharType.

getNumericType

public String getNumericType()
Returns:
Returns the numericType.

getRealType

public String getRealType()
Returns:
Returns the realType.

getSmallIntType

public String getSmallIntType()
Returns:
Returns the smallIntType.

getTimestampType

public String getTimestampType()
Returns:
Returns the timestampType.

getTimeType

public String getTimeType()
Returns:
Returns the timeType.

getTinyIntType

public String getTinyIntType()
Returns:
Returns the tinyIntType.

getTypes

public Map<String,String> getTypes()
Retorna o mapeamento entre os tipos JDBC para XML Schema.

Returns:
Mapeamento entre os tipos JDBC para XML Schema.

getVarBinaryType

public String getVarBinaryType()
Returns:
Returns the varBinaryType.

getVarCharType

public String getVarCharType()
Returns:
Returns the varCharType.

setBigIntType

public void setBigIntType(String bigIntType)
Parameters:
bigIntType - The bigIntType to set.

setBinaryType

public void setBinaryType(String binaryType)
Parameters:
binaryType - The binaryType to set.

setBitType

public void setBitType(String bitType)
Parameters:
bitType - The bitType to set.

setBlobType

public void setBlobType(String blobType)
Parameters:
blobType - The blobType to set.

setBooleanType

public void setBooleanType(String booleanType)
Parameters:
booleanType - The booleanType to set.

setCharType

public void setCharType(String charType)
Parameters:
charType - The charType to set.

setClobType

public void setClobType(String clobType)
Parameters:
clobType - The clobType to set.

setDataSourceTypesClass

public void setDataSourceTypesClass(String aTypeClass)
Seta a classe que implementa a interface DataSourceTypes.

Parameters:
aTypeClass - Classe que implementa a interface

setDateType

public void setDateType(String dateType)
Parameters:
dateType - The dateType to set.

setDecimalType

public void setDecimalType(String decimalType)
Parameters:
decimalType - The decimalType to set.

setDoubleType

public void setDoubleType(String doubleType)
Parameters:
doubleType - The doubleType to set.

setFloatType

public void setFloatType(String floatType)
Parameters:
floatType - The floatType to set.

setIntegerType

public void setIntegerType(String integerType)
Parameters:
integerType - The integerType to set.

setLongVarBinaryType

public void setLongVarBinaryType(String longVarBinaryType)
Parameters:
longVarBinaryType - The longVarBinaryType to set.

setLongVarCharType

public void setLongVarCharType(String longVarCharType)
Parameters:
longVarCharType - The longVarCharType to set.

setNumericType

public void setNumericType(String numericType)
Parameters:
numericType - The numericType to set.

setRealType

public void setRealType(String realType)
Parameters:
realType - The realType to set.

setSmallIntType

public void setSmallIntType(String smallIntType)
Parameters:
smallIntType - The smallIntType to set.

setTimestampType

public void setTimestampType(String timestampType)
Parameters:
timestampType - The timestampType to set.

setTimeType

public void setTimeType(String timeType)
Parameters:
timeType - The timeType to set.

setTinyIntType

public void setTinyIntType(String tinyIntType)
Parameters:
tinyIntType - The tinyIntType to set.

setTypes

public void setTypes()
Monta a coleção de tipos JDBC contendo os valores definidos no arquivo de configuração de tipos.


setVarBinaryType

public void setVarBinaryType(String varBinaryType)
Parameters:
varBinaryType - The varBinaryType to set.

setVarCharType

public void setVarCharType(String varCharType)
Parameters:
varCharType - The varCharType to set.


Copyright © 2008 Rogério Arantes Gaioso. All Rights Reserved.