salto.tool.sql.data
Class TypeInfo

java.lang.Object
  extended by salto.tool.sql.data.TypeInfo

public class TypeInfo
extends java.lang.Object

Version:
1.0
Author:

Constructor Summary
TypeInfo(java.sql.ResultSet rs)
          Constructor for TypeInfo.
 
Method Summary
 boolean getAutoIncrement()
          Gets the autoIncrement.
 boolean getCaseSensitive()
          Gets the caseSensitive.
 java.lang.String getCreateParams()
          Gets the createParams.
 short getDataTyp()
          Gets the dataTyp.
 boolean getIxedPrecScale()
          Gets the ixedPrecScale.
 java.lang.String getLiteralPrefix()
          Gets the literalPrefix.
 java.lang.String getLiteralsuffix()
          Gets the literalsuffix.
 java.lang.String getLocalTypeName()
          Gets the localTypeName.
 short getMaximumScale()
          Gets the maximumScale.
 short getMinimumScale()
          Gets the minimumScale.
 short getNullable()
          Gets the nullable.
 int getNumPrecRadix()
          Gets the numPrecRadix.
 int getPrecision()
          Gets the precision.
 short getSearchable()
          Gets the searchable.
 int getSqlDataTyp()
          Gets the sqlDataTyp.
 int getSqlDateTimeSub()
          Gets the sqlDateTimeSub.
 java.lang.String getTypeName()
          Gets the typeName.
 boolean getUnsignedAttribute()
          Gets the unsignedAttribute.
 void setAutoIncrement(boolean autoIncrement)
          Sets the autoIncrement.
 void setCaseSensitive(boolean caseSensitive)
          Sets the caseSensitive.
 void setCreateParams(java.lang.String createParams)
          Sets the createParams.
 void setDataTyp(short dataTyp)
          Sets the dataTyp.
 void setIxedPrecScale(boolean ixedPrecScale)
          Sets the ixedPrecScale.
 void setLiteralPrefix(java.lang.String literalPrefix)
          Sets the literalPrefix.
 void setLiteralsuffix(java.lang.String literalsuffix)
          Sets the literalsuffix.
 void setLocalTypeName(java.lang.String localTypeName)
          Sets the localTypeName.
 void setMaximumScale(short maximumScale)
          Sets the maximumScale.
 void setMinimumScale(short minimumScale)
          Sets the minimumScale.
 void setNullable(short nullable)
          Sets the nullable.
 void setNumPrecRadix(int numPrecRadix)
          Sets the numPrecRadix.
 void setPrecision(int precision)
          Sets the precision.
 void setSearchable(short searchable)
          Sets the searchable.
 void setSqlDataTyp(int sqlDataTyp)
          Sets the sqlDataTyp.
 void setSqlDateTimeSub(int sqlDateTimeSub)
          Sets the sqlDateTimeSub.
 void setTypeName(java.lang.String typeName)
          Sets the typeName.
 void setUnsignedAttribute(boolean unsignedAttribute)
          Sets the unsignedAttribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeInfo

public TypeInfo(java.sql.ResultSet rs)
Constructor for TypeInfo.

Method Detail

getLiteralPrefix

public java.lang.String getLiteralPrefix()
Gets the literalPrefix.

Returns:
Returns a String

setLiteralPrefix

public void setLiteralPrefix(java.lang.String literalPrefix)
Sets the literalPrefix.

Parameters:
literalPrefix - The literalPrefix to set

getLiteralsuffix

public java.lang.String getLiteralsuffix()
Gets the literalsuffix.

Returns:
Returns a String

setLiteralsuffix

public void setLiteralsuffix(java.lang.String literalsuffix)
Sets the literalsuffix.

Parameters:
literalsuffix - The literalsuffix to set

getLocalTypeName

public java.lang.String getLocalTypeName()
Gets the localTypeName.

Returns:
Returns a String

setLocalTypeName

public void setLocalTypeName(java.lang.String localTypeName)
Sets the localTypeName.

Parameters:
localTypeName - The localTypeName to set

getMaximumScale

public short getMaximumScale()
Gets the maximumScale.

Returns:
Returns a short

setMaximumScale

public void setMaximumScale(short maximumScale)
Sets the maximumScale.

Parameters:
maximumScale - The maximumScale to set

getMinimumScale

public short getMinimumScale()
Gets the minimumScale.

Returns:
Returns a short

setMinimumScale

public void setMinimumScale(short minimumScale)
Sets the minimumScale.

Parameters:
minimumScale - The minimumScale to set

getNullable

public short getNullable()
Gets the nullable.

Returns:
Returns a short

setNullable

public void setNullable(short nullable)
Sets the nullable.

Parameters:
nullable - The nullable to set

getNumPrecRadix

public int getNumPrecRadix()
Gets the numPrecRadix.

Returns:
Returns a int

setNumPrecRadix

public void setNumPrecRadix(int numPrecRadix)
Sets the numPrecRadix.

Parameters:
numPrecRadix - The numPrecRadix to set

getPrecision

public int getPrecision()
Gets the precision.

Returns:
Returns a int

setPrecision

public void setPrecision(int precision)
Sets the precision.

Parameters:
precision - The precision to set

getSearchable

public short getSearchable()
Gets the searchable.

Returns:
Returns a short

setSearchable

public void setSearchable(short searchable)
Sets the searchable.

Parameters:
searchable - The searchable to set

getSqlDataTyp

public int getSqlDataTyp()
Gets the sqlDataTyp.

Returns:
Returns a int

setSqlDataTyp

public void setSqlDataTyp(int sqlDataTyp)
Sets the sqlDataTyp.

Parameters:
sqlDataTyp - The sqlDataTyp to set

getAutoIncrement

public boolean getAutoIncrement()
Gets the autoIncrement.

Returns:
Returns a boolean

setAutoIncrement

public void setAutoIncrement(boolean autoIncrement)
Sets the autoIncrement.

Parameters:
autoIncrement - The autoIncrement to set

getCaseSensitive

public boolean getCaseSensitive()
Gets the caseSensitive.

Returns:
Returns a boolean

setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)
Sets the caseSensitive.

Parameters:
caseSensitive - The caseSensitive to set

getCreateParams

public java.lang.String getCreateParams()
Gets the createParams.

Returns:
Returns a String

setCreateParams

public void setCreateParams(java.lang.String createParams)
Sets the createParams.

Parameters:
createParams - The createParams to set

getDataTyp

public short getDataTyp()
Gets the dataTyp.

Returns:
Returns a short

setDataTyp

public void setDataTyp(short dataTyp)
Sets the dataTyp.

Parameters:
dataTyp - The dataTyp to set

getIxedPrecScale

public boolean getIxedPrecScale()
Gets the ixedPrecScale.

Returns:
Returns a boolean

setIxedPrecScale

public void setIxedPrecScale(boolean ixedPrecScale)
Sets the ixedPrecScale.

Parameters:
ixedPrecScale - The ixedPrecScale to set

getSqlDateTimeSub

public int getSqlDateTimeSub()
Gets the sqlDateTimeSub.

Returns:
Returns a int

setSqlDateTimeSub

public void setSqlDateTimeSub(int sqlDateTimeSub)
Sets the sqlDateTimeSub.

Parameters:
sqlDateTimeSub - The sqlDateTimeSub to set

getTypeName

public java.lang.String getTypeName()
Gets the typeName.

Returns:
Returns a String

setTypeName

public void setTypeName(java.lang.String typeName)
Sets the typeName.

Parameters:
typeName - The typeName to set

getUnsignedAttribute

public boolean getUnsignedAttribute()
Gets the unsignedAttribute.

Returns:
Returns a boolean

setUnsignedAttribute

public void setUnsignedAttribute(boolean unsignedAttribute)
Sets the unsignedAttribute.

Parameters:
unsignedAttribute - The unsignedAttribute to set


Copyright © 2002-2008 Salto Consulting. All Rights Reserved.