Uses of Class
org.apache.torque.engine.database.model.SchemaType

Packages that use SchemaType
org.apache.torque.engine.database.model   
org.apache.torque.engine.platform This package contains classes that provide compatibility to a range of RDBM platforms. 
 

Uses of SchemaType in org.apache.torque.engine.database.model
 

Fields in org.apache.torque.engine.database.model declared as SchemaType
static SchemaType SchemaType.ARRAY
           
static SchemaType SchemaType.BIGINT
           
static SchemaType SchemaType.BINARY
           
static SchemaType SchemaType.BIT
           
static SchemaType SchemaType.BLOB
           
static SchemaType SchemaType.BOOLEANCHAR
           
static SchemaType SchemaType.BOOLEANINT
           
static SchemaType SchemaType.CHAR
           
static SchemaType SchemaType.CLOB
           
static SchemaType SchemaType.DATE
           
static SchemaType SchemaType.DECIMAL
           
static SchemaType SchemaType.DISTINCT
           
static SchemaType SchemaType.DOUBLE
           
static SchemaType SchemaType.FLOAT
           
static SchemaType SchemaType.INTEGER
           
static SchemaType SchemaType.JAVA_OBJECT
           
static SchemaType SchemaType.LONGVARBINARY
           
static SchemaType SchemaType.LONGVARCHAR
           
static SchemaType SchemaType.NULL
           
static SchemaType SchemaType.NUMERIC
           
static SchemaType SchemaType.OTHER
           
static SchemaType SchemaType.REAL
           
static SchemaType SchemaType.REF
           
static SchemaType SchemaType.SMALLINT
           
static SchemaType SchemaType.STRUCT
           
static SchemaType SchemaType.TIME
           
static SchemaType SchemaType.TIMESTAMP
           
static SchemaType SchemaType.TINYINT
           
static SchemaType SchemaType.VARBINARY
           
static SchemaType SchemaType.VARCHAR
           
 

Methods in org.apache.torque.engine.database.model that return SchemaType
static SchemaType SchemaType.getEnum(java.lang.String type)
           
static SchemaType TypeMap.getJdbcType(SchemaType type)
          Deprecated. the type conversion is handled by the platform package (since torque 3.2)
static SchemaType TypeMap.getTorqueType(java.lang.Integer sqlType)
          Returns Torque type constant corresponding to JDBC type code.
 SchemaType Domain.getType()
           
 

Methods in org.apache.torque.engine.database.model with parameters of type SchemaType
static java.lang.String TypeMap.getJavaNative(SchemaType jdbcType)
          Return native java type which corresponds to the JDBC type provided.
static java.lang.String TypeMap.getJavaNativeObject(SchemaType jdbcType)
          Return native java type which corresponds to the JDBC type provided.
static java.lang.String TypeMap.getJavaObject(SchemaType jdbcType)
          Return a Java object which corresponds to the JDBC type provided.
static SchemaType TypeMap.getJdbcType(SchemaType type)
          Deprecated. the type conversion is handled by the platform package (since torque 3.2)
static java.lang.String TypeMap.getPPMethod(SchemaType jdbcType)
          Return ParameterParser getX() method which corresponds to the JDBC type provided.
static java.lang.String TypeMap.getVillageMethod(SchemaType jdbcType)
          Return Village asX() method which corresponds to the JDBC type provided.
static java.lang.String TypeMap.getVillageObjectMethod(SchemaType jdbcType)
          Return Village asX() method which corresponds to the JDBC type provided.
static boolean TypeMap.isBit(SchemaType type)
          Returns true if the type is boolean in the java object and a Bit "1" or "0" in the db.
static boolean TypeMap.isBooleanChar(SchemaType type)
          Returns true if the type is boolean in the java object and a String "Y" or "N" in the db.
static boolean TypeMap.isBooleanInt(SchemaType type)
          Returns true if the type is boolean in the java object and a numeric (1 or 0) in the db.
static boolean TypeMap.isTextType(SchemaType type)
          Returns true if values for the type need to be quoted.
 void Column.setType(SchemaType torqueType)
          Sets the colunm type
 void Domain.setType(SchemaType torqueType)
           
 

Constructors in org.apache.torque.engine.database.model with parameters of type SchemaType
Domain(SchemaType type)
          Creates a new Domain and set the name
Domain(SchemaType type, java.lang.String sqlType)
          Creates a new Domain and set the name
Domain(SchemaType type, java.lang.String sqlType, java.lang.String size)
          Creates a new Domain and set the name
Domain(SchemaType type, java.lang.String sqlType, java.lang.String size, java.lang.String scale)
          Creates a new Domain and set the name
SizedForBitDataDomain(SchemaType type)
           
SizedForBitDataDomain(SchemaType type, java.lang.String sqlType)
           
SizedForBitDataDomain(SchemaType type, java.lang.String sqlType, java.lang.String size)
           
SizedForBitDataDomain(SchemaType type, java.lang.String sqlType, java.lang.String size, java.lang.String scale)
           
 

Uses of SchemaType in org.apache.torque.engine.platform
 

Methods in org.apache.torque.engine.platform with parameters of type SchemaType
 Domain PlatformDefaultImpl.getDomainForSchemaType(SchemaType jdbcType)
           
 Domain Platform.getDomainForSchemaType(SchemaType jdbcType)
          Returns the db specific domain for a jdbcType.
 



Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.