JavaDoc


TypeInfo

org.dbreplicator.replication
Class TypeInfo

java.lang.Object
  extended by org.dbreplicator.replication.TypeInfo

public class TypeInfo
extends java.lang.Object

This class is helpful for the multiple datatype handling in the multidatabse environment. For each column this typeinfo object stores it's sqlType which can be obtained from the JVM. Now by using the database handlers this typeInfo is set to it's corresponding database datatype , this inforamtion is saved in typeName. It also maintains information for the optional size supported datatypes.


Constructor Summary
TypeInfo(java.lang.String typeName0, int sqlType0)
           
 
Method Summary
 int getColumnScale()
           
 int getcolumnSize()
           
 int getSqlType()
           
 java.lang.String getTypeDeclaration(int size)
           
 java.lang.String getTypeName()
           
 int hashCode()
           
 void setColumnScale(int columnScale0)
           
 void setColumnSize(int columnSize)
           
 void setOptionalSizeProperty(boolean optsize0)
           
 void setSqlType(int sqlType0)
           
 void setTypeName(java.lang.String typeName0)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeInfo

public TypeInfo(java.lang.String typeName0,
                int sqlType0)
Method Detail

setColumnSize

public void setColumnSize(int columnSize)

getcolumnSize

public int getcolumnSize()

getSqlType

public int getSqlType()

getTypeName

public java.lang.String getTypeName()

setSqlType

public void setSqlType(int sqlType0)

setTypeName

public void setTypeName(java.lang.String typeName0)

setOptionalSizeProperty

public void setOptionalSizeProperty(boolean optsize0)

getTypeDeclaration

public java.lang.String getTypeDeclaration(int size)

hashCode

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

toString

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

setColumnScale

public void setColumnScale(int columnScale0)

getColumnScale

public int getColumnScale()



Powered by Drupal - Theme by Danger4k