org.jboss.dna.common.jdbc.model.spi
Class SqlTypeConversionPairBean

java.lang.Object
  extended by org.jboss.dna.common.jdbc.model.spi.CoreMetaDataBean
      extended by org.jboss.dna.common.jdbc.model.spi.SqlTypeConversionPairBean
All Implemented Interfaces:
Serializable, CoreMetaData, SqlTypeConversionPair

public class SqlTypeConversionPairBean
extends CoreMetaDataBean
implements SqlTypeConversionPair

Provides RDBMS supported SQL type valid conversion pair.

Author:
Sergiy Litsenko
See Also:
Serialized Form

Constructor Summary
SqlTypeConversionPairBean()
          Default constructor
 
Method Summary
 SqlType getDestType()
          Gets valid destination SQL Type
 SqlType getSrcType()
          Gets valid SQL Type
 void setDestType(SqlType destType)
          Sets valid destination SQL Type
 void setSrcType(SqlType srcType)
          Sets valid source SQL Type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlTypeConversionPairBean

public SqlTypeConversionPairBean()
Default constructor

Method Detail

getSrcType

public SqlType getSrcType()
Gets valid SQL Type

Specified by:
getSrcType in interface SqlTypeConversionPair
Returns:
valid SQL Type

setSrcType

public void setSrcType(SqlType srcType)
Sets valid source SQL Type

Specified by:
setSrcType in interface SqlTypeConversionPair
Parameters:
srcType - the source SQL Type

getDestType

public SqlType getDestType()
Gets valid destination SQL Type

Specified by:
getDestType in interface SqlTypeConversionPair
Returns:
valid dewstination SQL Type

setDestType

public void setDestType(SqlType destType)
Sets valid destination SQL Type

Specified by:
setDestType in interface SqlTypeConversionPair
Parameters:
destType - the destination SQL Type


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.