|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dbreplicator.replication
Class TypeInfo
java.lang.Objectorg.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:
hashCodein classjava.lang.Object
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
setColumnScale
public void setColumnScale(int columnScale0)
getColumnScale
public int getColumnScale()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.dbreplicator.replication.TypeInfo

