B C D E F G H I J L M N O P Q R S T V

B

BeanSkipDecider - Class in org.apache.torque.templates.skipdecider
A skipSourceDecider which returns true if the option "torque.om.generateBeans" is true.
BeanSkipDecider() - Constructor for class org.apache.torque.templates.skipdecider.BeanSkipDecider
 
BIGINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
BINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
BIT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
BLOB_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
BOOLEANCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
BOOLEANINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 

C

CHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
checkColumnNameExists(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Checks that the name attribute exists on the column element.
checkElementName(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Checks that the name of the column element is correct.
checkRequiredOptions(ControllerState, TemplateOptionName...) - Static method in enum org.apache.torque.templates.TemplateOptionName
Checks whether all required options are set.
checkRequiredOptions(ControllerState) - Static method in enum org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
Checks whether all required options are set.
CLOB_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
CollectAttributeSetTrueTransformer - Class in org.apache.torque.templates.transformer
Collects the children which have a certain attribute set to true in another child element.
CollectAttributeSetTrueTransformer() - Constructor for class org.apache.torque.templates.transformer.CollectAttributeSetTrueTransformer
 
ColumnAttributeName - Enum in org.apache.torque.templates.transformer.om
Contains the attributes for a column source element which are not defined in the Torque schema.
ColumnChildElementName - Enum in org.apache.torque.templates.transformer.om
Contains the child elements for a column source element which are not defined in the Torque schema.
createInheritanceColumnChildIfNecessary(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
createLocalElementForReference(SourceElement, SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMForeignKeyTransformer
Creates the child element "local-column" for the reference element and adds the local column as a child of it.
createNotNullBeforeAutoincrement() - Method in interface org.apache.torque.templates.platform.Platform
Returns whether the "not null part" of the definition of a column should be generated before the "autoincrement part" in a "create table" statement.
createNotNullBeforeAutoincrement() - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 
createNotNullBeforeAutoincrement() - Method in class org.apache.torque.templates.platform.PlatformHsqldbImpl
Returns whether the "not null part" of the definition of a column should be generated before the "autoincrement part" in a "create table" statement.

D

DatabaseAttributeName - Enum in org.apache.torque.templates.transformer.om
Contains the attributes for a database source element which are not defined in the Torque schema.
DatabaseChildElementName - Enum in org.apache.torque.templates.transformer.om
Contains the child elements for a database source element which are not defined in the Torque schema.
DatabaseMapInitTableTransformer - Class in org.apache.torque.templates.transformer.om.mapInit
A transformer which sets attributes for the table elements for generating the map init classes.
DatabaseMapInitTableTransformer() - Constructor for class org.apache.torque.templates.transformer.om.mapInit.DatabaseMapInitTableTransformer
Constructor.
DatabaseMapInitTransformer - Class in org.apache.torque.templates.transformer.om.mapInit
A transformer providing extra attributes for the generation of the mapInit classes.
DatabaseMapInitTransformer() - Constructor for class org.apache.torque.templates.transformer.om.mapInit.DatabaseMapInitTransformer
Constructor.
DATE_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
DECIMAL_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
DOUBLE_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 

E

escapeBackslashes() - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Returns whether backslashes must be escaped in string literals.
escapeBackslashes() - Method in class org.apache.torque.templates.platform.PlatformDerbyImpl
 
escapeBackslashes() - Method in class org.apache.torque.templates.platform.PlatformHsqldbImpl
 
escapeBackslashes() - Method in class org.apache.torque.templates.platform.PlatformMssqlImpl
 
escapeBackslashes() - Method in class org.apache.torque.templates.platform.PlatformMysqlImpl
 
escapeBackslashes() - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
 
escapeBackslashes() - Method in class org.apache.torque.templates.platform.PlatformPostgresqlImpl
 

F

FLOAT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
ForeignKeyAttributeName - Enum in org.apache.torque.templates.transformer.om
Contains the attribute names of the foreign-key source element which are not defined in the Torque schema.
ForeignKeyChildAttributeName - Enum in org.apache.torque.templates.transformer.om
Contains the attribute names of the child elements for a foreign-key source element which are not defined in the Torque schema.
ForeignKeyChildElementName - Enum in org.apache.torque.templates.transformer.om
Contains the child elements for a foreign-key source element which are not defined in the Torque schema.

G

getAutoIncrement() - Method in interface org.apache.torque.templates.platform.Platform
 
getAutoIncrement() - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 
getAutoIncrement() - Method in class org.apache.torque.templates.platform.PlatformDerbyImpl
 
getAutoIncrement() - Method in class org.apache.torque.templates.platform.PlatformHsqldbImpl
 
getAutoIncrement() - Method in class org.apache.torque.templates.platform.PlatformMysqlImpl
 
getAutoIncrement() - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
 
getAutoIncrement() - Method in class org.apache.torque.templates.platform.PlatformPostgresqlImpl
 
getByMethodName(String) - Static method in enum org.apache.torque.templates.typemapping.ResultSetGetter
Retursn the ResultSetGetter with the given method name.
getClassName() - Method in enum org.apache.torque.templates.typemapping.JavaType
Returns the class name.
getDateString(Date) - Method in interface org.apache.torque.templates.platform.Platform
Formats the given date as date string which is parseable by the database.
getDateString(Date) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Formats the given date as date string which is parseable by the database.
getDateString(Date) - Method in class org.apache.torque.templates.platform.PlatformHsqldbImpl
Formats the given date as date string which is parseable by the database.
getDateString(Date) - Method in class org.apache.torque.templates.platform.PlatformMysqlImpl
Formats the given date as date string which is parseable by the database.
getDateString(Date) - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
Formats the given date as date string which is parseable by the database.
getDefaultValue() - Method in class org.apache.torque.templates.typemapping.SqlType
 
getDefaultValue() - Method in class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
 
getDefaultValueAsDate(String) - Static method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Parses the default value String as Date.
getDefaultValueWithDefaultSet(JavaType, String, boolean, SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Calculates the java default value of a column in case a default value is set.
getDefaultValueWithoutDefaultSet(JavaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Calculates the java default value of a column in case a default value is not set.
getDomain(SourceElement, ControllerState) - Static method in class org.apache.torque.templates.transformer.SchemaTypeHelper
 
getFieldJavaType(SourceElement, SchemaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Returns the java type of the field representing a database column.
getFullClassName() - Method in enum org.apache.torque.templates.typemapping.JavaType
Returns the class name, if necessary qualified with the package name.
getJavaObject(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Return a Java object which corresponds to the JDBC type provided.
getJavaObjectType(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Returns the java type which corresponds to the schema type provided.
getJavaPrimitiveType(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Returns the java type which corresponds to the schema type provided.
getJdbcType() - Method in enum org.apache.torque.templates.typemapping.SchemaType
Returns the corresponding jdbc type.
getJdbcType() - Method in class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
 
getMethod() - Method in enum org.apache.torque.templates.typemapping.ResultSetGetter
Returns the method name.
getMethod() - Method in enum org.apache.torque.templates.typemapping.VillageMethod
 
getName() - Method in enum org.apache.torque.templates.TemplateOptionName
Returns the name of the option.
getName() - Method in enum org.apache.torque.templates.TorqueSchemaAttributeName
returns the name of the attribute.
getName() - Method in enum org.apache.torque.templates.TorqueSchemaElementName
Returns the name of the element.
getName() - Method in enum org.apache.torque.templates.TorqueSchemaIdMethod
Returns the name of the idMethod.
getName() - Method in enum org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
Returns the name of the option.
getName() - Method in enum org.apache.torque.templates.transformer.om.ColumnAttributeName
Returns the name of the referenced source element attribute.
getName() - Method in enum org.apache.torque.templates.transformer.om.ColumnChildElementName
Returns the name of the referenced source element.
getName() - Method in enum org.apache.torque.templates.transformer.om.DatabaseAttributeName
Returns the name of the referenced source element attribute.
getName() - Method in enum org.apache.torque.templates.transformer.om.DatabaseChildElementName
Returns the name of the referenced source element.
getName() - Method in enum org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
Returns the name of the referenced source element.
getName() - Method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
Returns the name of the referenced source element.
getName() - Method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
Returns the name of the referenced source element.
getName() - Method in enum org.apache.torque.templates.transformer.om.InheritanceAttributeName
Returns the name of the referenced source element attribute.
getName() - Method in enum org.apache.torque.templates.transformer.om.JavaFieldAttributeName
Returns the name of the referenced source element attribute.
getName() - Method in enum org.apache.torque.templates.transformer.om.ReferenceChildElementName
Returns the name of the referenced source element.
getName() - Method in enum org.apache.torque.templates.transformer.om.TableAttributeName
Returns the name of the referenced source element attribute.
getName() - Method in enum org.apache.torque.templates.transformer.om.TableChildElementName
Returns the name of the referenced source element.
getName() - Method in enum org.apache.torque.templates.transformer.sql.SqlAttributeName
Returns the name of the referenced source element attribute.
getNullString(boolean) - Method in interface org.apache.torque.templates.platform.Platform
 
getNullString(boolean) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 
getNullString(boolean) - Method in class org.apache.torque.templates.platform.PlatformMssqlImpl
 
getPackagePrefix() - Method in enum org.apache.torque.templates.typemapping.JavaType
Returns the package prefix.
getPlatformFor(String) - Static method in class org.apache.torque.templates.platform.PlatformFactory
Returns the Platform for a platform name.
getResultSetGetter(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Returns the result set getter method which corresponds to the Schema type provided.
getScale() - Method in class org.apache.torque.templates.typemapping.SqlType
 
getScale() - Method in class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
 
getSchemaType(SourceElement, ControllerState) - Static method in class org.apache.torque.templates.transformer.SchemaTypeHelper
Determines the schema type of a column.
getSize() - Method in class org.apache.torque.templates.typemapping.SqlType
 
getSize() - Method in class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
 
getSizeSuffix(String) - Method in interface org.apache.torque.templates.platform.Platform
Returns a possible SQL suffix for column definitions of certain SQL Types, e.g.
getSizeSuffix(String) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Returns a possible SQL suffix for column definitions of certain SQL Types, e.g.
getSizeSuffix(String) - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
Returns a possible SQL suffix for column definitions of certain SQL Types, e.g.
getSqlType(SchemaType, SqlType, ControllerState, String, String, String) - Static method in class org.apache.torque.templates.transformer.SchemaTypeHelper
Returns the SQL type for a schema type and the specified target database.
getSqlTypeForSchemaType(SchemaType) - Method in interface org.apache.torque.templates.platform.Platform
Returns the db specific SQL type for a Torque type.
getSqlTypeForSchemaType(SchemaType) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 
getSqlTypeName() - Method in class org.apache.torque.templates.typemapping.SqlType
Returns the SQL type name.
getSqlTypeName() - Method in class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
 
getTimestampString(Date) - Method in interface org.apache.torque.templates.platform.Platform
Formats the given date as timestamp string which is parseable by the database.
getTimestampString(Date) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Formats the given date as timestamp string which is parseable by the database.
getTimestampString(Date) - Method in class org.apache.torque.templates.platform.PlatformMssqlImpl
Formats the given date as timestamp string which is parseable by the database.
getTimestampString(Date) - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
Formats the given date as timestamp string which is parseable by the database.
getTimeString(Date) - Method in interface org.apache.torque.templates.platform.Platform
Formats the given date as time string which is parseable by the database.
getTimeString(Date) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Formats the given date as time string which is parseable by the database.
getTimeString(Date) - Method in class org.apache.torque.templates.platform.PlatformHsqldbImpl
Formats the given date as time string which is parseable by the database.
getTimeString(Date) - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
Formats the given date as time string which is parseable by the database.
getValue() - Method in enum org.apache.torque.templates.TorqueSchemaInheritance
Returns the value of the inheritance attribute.
getValue() - Method in enum org.apache.torque.templates.TorqueSchemaJavaType
Returns the value of the javaType attribute.

H

hasScale(String) - Method in interface org.apache.torque.templates.platform.Platform
Returns if the RDBMS-specific SQL type has a scale attribute.
hasScale(String) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 
hasScale(String) - Method in class org.apache.torque.templates.platform.PlatformDerbyImpl
 
hasScale(String) - Method in class org.apache.torque.templates.platform.PlatformPostgresqlImpl
 
hasSize(String) - Method in interface org.apache.torque.templates.platform.Platform
Returns if the RDBMS-specific SQL type has a size attribute.
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformDerbyImpl
 
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformMysqlImpl
 
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformPostgresqlImpl
 

I

IncludeSchemaTransformer - Class in org.apache.torque.templates.transformer.om
A SourceTransformer which includes other schemata into the current graph.
IncludeSchemaTransformer() - Constructor for class org.apache.torque.templates.transformer.om.IncludeSchemaTransformer
Standard constructor.
IncludeSchemaTransformer(File) - Constructor for class org.apache.torque.templates.transformer.om.IncludeSchemaTransformer
Constructor to override base dir.
InheritanceAttributeName - Enum in org.apache.torque.templates.transformer.om
Contains the attributes for a inheritance source element which are not defined in the Torque schema.
INTEGER_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
InterfaceSkipDecider - Class in org.apache.torque.templates.skipdecider
A skip decider which returns true if the attribute "interface" is set on the current source element and if the name does not contain a dot.
InterfaceSkipDecider() - Constructor for class org.apache.torque.templates.skipdecider.InterfaceSkipDecider
 
isBit(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Returns true if the type is boolean in the java object and a Bit "1" or "0" in the db.
isBooleanChar(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Returns true if the type is boolean in the java object and a String "Y" or "N" in the db.
isBooleanInt(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Returns true if the type is boolean in the java object and a numeric (1 or 0) in the db.
isNumber() - Method in enum org.apache.torque.templates.typemapping.JavaType
Returns whether the type is a number.
isPrimitive() - Method in enum org.apache.torque.templates.typemapping.JavaType
Returns whether the type is a primitive type.
isRequired() - Method in enum org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
Returns whether this option must be set.
isTextType(SchemaType) - Static method in class org.apache.torque.templates.typemapping.TypeMap
Returns true if values for the type need to be quoted.

J

JavaFieldAttributeName - Enum in org.apache.torque.templates.transformer.om
Defines the standard attributes for a source element representing a java field (i.e instance variable of a class).
JavaType - Enum in org.apache.torque.templates.typemapping
An enum for all java types known to the generator.
Jdbc2SchemaOptionName - Enum in org.apache.torque.templates.transformer.jdbc2schema
The option names which are used in the java code of the jdbc2schema templates.
Jdbc2SchemaTransformer - Class in org.apache.torque.templates.transformer.jdbc2schema
Performs the transformations which are necessary to apply the jdbc2schema templates to the source tree.
Jdbc2SchemaTransformer() - Constructor for class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaTransformer
 

L

LoadExternalSchemaTransformer - Class in org.apache.torque.templates.transformer.om
A SourceTransformer which loads the external schemata tables and views into the current graph.
LoadExternalSchemaTransformer() - Constructor for class org.apache.torque.templates.transformer.om.LoadExternalSchemaTransformer
Standard constructor.
LoadExternalSchemaTransformer(File) - Constructor for class org.apache.torque.templates.transformer.om.LoadExternalSchemaTransformer
Constructor to override base dir.
LONGVARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
LONGVARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 

M

ManagerSkipDecider - Class in org.apache.torque.templates.skipdecider
A skipSourceDecider which returns true if the option "torque.om.useManagers" is true and the current table has a primary key.
ManagerSkipDecider() - Constructor for class org.apache.torque.templates.skipdecider.ManagerSkipDecider
 
MapInitSkipDecider - Class in org.apache.torque.templates.skipdecider
A source filter which returns true if the option "torque.om.generateMapInit" is true.
MapInitSkipDecider() - Constructor for class org.apache.torque.templates.skipdecider.MapInitSkipDecider
 

N

NUMERIC_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 

O

OMColumnTransformer - Class in org.apache.torque.templates.transformer.om
Sets the class names and packages for the OM model.
OMColumnTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMColumnTransformer
 
OMForeignKeyColumnTransformer - Class in org.apache.torque.templates.transformer.om
Sets the referenced and referencing columns for the column.
OMForeignKeyColumnTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMForeignKeyColumnTransformer
 
OMForeignKeyTransformer - Class in org.apache.torque.templates.transformer.om
Sets the foreign tables for each of the foreign keys, and define variables, getters and setters for the complexObjectModel.
OMForeignKeyTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMForeignKeyTransformer
 
OMInheritanceTransformer - Class in org.apache.torque.templates.transformer.om
Transforms an Inheritance element.
OMInheritanceTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMInheritanceTransformer
 
OMReferencingForeignKeyTableTransformer - Class in org.apache.torque.templates.transformer.om
Sets the foreign tables for each of the foreign keys, and define variables, getters and setters for the complexObjectModel.
OMReferencingForeignKeyTableTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMReferencingForeignKeyTableTransformer
 
OMTableAndViewTransformer - Class in org.apache.torque.templates.transformer.om
Transforms the tables and views in the OM model.
OMTableAndViewTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
OMTransformer - Class in org.apache.torque.templates.transformer.om
Performs the transformations which are necessary to apply the OM templates to the source tree.
OMTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMTransformer
 
org.apache.torque.templates - package org.apache.torque.templates
Contains enums used throughout the templates.
org.apache.torque.templates.platform - package org.apache.torque.templates.platform
This package contains classes that provide compatibility to a range of RDBM platforms.
org.apache.torque.templates.skipdecider - package org.apache.torque.templates.skipdecider
Contains various skipDeciders used in generation.
org.apache.torque.templates.transformer - package org.apache.torque.templates.transformer
Contains transformers and their helpers throughout the templates.
org.apache.torque.templates.transformer.jdbc2schema - package org.apache.torque.templates.transformer.jdbc2schema
Contains transformers and their helpers for the jdbc2schema templates.
org.apache.torque.templates.transformer.om - package org.apache.torque.templates.transformer.om
Contains transformers and their helpers for the generation of OM classes.
org.apache.torque.templates.transformer.om.mapInit - package org.apache.torque.templates.transformer.om.mapInit
Contains transformers and their helpers for the generation of mapInit classes.
org.apache.torque.templates.transformer.sql - package org.apache.torque.templates.transformer.sql
Contains various classes for typemapping.
org.apache.torque.templates.typemapping - package org.apache.torque.templates.typemapping
Contains transformers and their helpers for the generation of SQL files.

P

Platform - Interface in org.apache.torque.templates.platform
Interface for RDBMS platform specific behaviour.
PlatformDefaultImpl - Class in org.apache.torque.templates.platform
Default implementation for the Platform interface.
PlatformDefaultImpl() - Constructor for class org.apache.torque.templates.platform.PlatformDefaultImpl
Default constructor.
PlatformDerbyImpl - Class in org.apache.torque.templates.platform
Derby Platform implementation.
PlatformDerbyImpl() - Constructor for class org.apache.torque.templates.platform.PlatformDerbyImpl
Default constructor.
PlatformFactory - Class in org.apache.torque.templates.platform
Factory class responsible to create Platform objects that define RDBMS platform specific behaviour.
PlatformHsqldbImpl - Class in org.apache.torque.templates.platform
HSQLDB (formerly known as Hypersonic) Platform implementation.
PlatformHsqldbImpl() - Constructor for class org.apache.torque.templates.platform.PlatformHsqldbImpl
Default constructor.
PlatformMssqlImpl - Class in org.apache.torque.templates.platform
MS SQL Platform implementation.
PlatformMssqlImpl() - Constructor for class org.apache.torque.templates.platform.PlatformMssqlImpl
Default constructor.
PlatformMysqlImpl - Class in org.apache.torque.templates.platform
MySql Platform implementation.
PlatformMysqlImpl() - Constructor for class org.apache.torque.templates.platform.PlatformMysqlImpl
Default constructor.
PlatformOracleImpl - Class in org.apache.torque.templates.platform
Oracle Platform implementation.
PlatformOracleImpl() - Constructor for class org.apache.torque.templates.platform.PlatformOracleImpl
Default constructor.
PlatformPostgresqlImpl - Class in org.apache.torque.templates.platform
Postgresql Platform implementation.
PlatformPostgresqlImpl() - Constructor for class org.apache.torque.templates.platform.PlatformPostgresqlImpl
Default constructor.
printSize() - Method in class org.apache.torque.templates.typemapping.SizedForBitDataSqlType
Returns the size postfix for the base SQL Column type.
printSize(String) - Method in class org.apache.torque.templates.typemapping.SqlType
Return the size and scale in brackets for use in an SQL script.
printSize() - Method in class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
Return the size and scale in brackets for use in an SQL script.
proceed(ControllerState) - Method in class org.apache.torque.templates.skipdecider.BeanSkipDecider
 
proceed(ControllerState) - Method in class org.apache.torque.templates.skipdecider.InterfaceSkipDecider
 
proceed(ControllerState) - Method in class org.apache.torque.templates.skipdecider.ManagerSkipDecider
 
proceed(ControllerState) - Method in class org.apache.torque.templates.skipdecider.MapInitSkipDecider
 

Q

quoteAndEscape(String) - Method in interface org.apache.torque.templates.platform.Platform
Quotes and escapes a string such that it can be used as literal String value in SQL.
quoteAndEscape(String) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 

R

REAL_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
ReferenceChildElementName - Enum in org.apache.torque.templates.transformer.om
Contains the child elements for a reference source element which are not defined in the Torque schema.
ResultSetGetter - Enum in org.apache.torque.templates.typemapping
All available result set getter methods.

S

SchemaType - Enum in org.apache.torque.templates.typemapping
Enum for known SQL types.
SchemaTypeHelper - Class in org.apache.torque.templates.transformer
Helper class for retrieving the schema type of a column.
setAccessModifierAttributes(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the attributes getterAccessModifer and setterAccessModifer on the column element.
setAttributeDefaultValues(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets default values for attributes of the column element if the attribute is not set.
setCreateDefaultDateMethodsAttributes(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
setDatabaseMapInitClassNameAttributes(SourceElement, String, ControllerState) - Static method in class org.apache.torque.templates.transformer.om.mapInit.DatabaseMapInitTransformer
Sets the databaseMapInitClassName and baseDatabaseMapInitClassName attributes on a source element.
setDefaultValueAttribute(SourceElement, JavaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the defaultValue attribute of the column element if it is not already set.
setDomainAttributes(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
 
setFieldNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the fieldName attribute of the column element if it is not already set.
setFieldNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
Sets the fieldName attribute of the table element if it is not already set.
setGetterNameAttribute(SourceElement, JavaType, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the getterName attribute of the column element if it is not already set.
setIdMethodAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
setJavaNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the javaName attribute of the column element if it is not already set.
setJavaNameAttribute(SourceElement) - Static method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
Sets the javaName attribute of the table element, if not already set.
setJavaTypeAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the javaType attribute of the column element if it is not already set and a default value is set.
setManagerClassNameAttributes(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
setNumberTypeAttribute(SourceElement, JavaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the numberType attribute of the column element if it is not already set.
setPeerColumnNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the peerColumnName attribute of the column element if it is not already set.
setPeerImplFieldNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
Sets the peerImplFieldName attribute of the table element if it is not already set.
setPeerImplGetterAttribute(SourceElement) - Static method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
Sets the peerImplGetter attribute of the table element if it is not already set.
setPeerImplSetterAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
Sets the peerImplSetter attribute of the table element if it is not already set.
setPrimitiveTypeAttribute(SourceElement, JavaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the primitiveType attribute of the column element if it is not already set.
setQualifiedColumnNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the qualifiedColumnName attribute of the column element if it is not already set.
setResultSetGetterAttribute(SourceElement, SchemaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the resultSetGetter attribute of the column element if it is not already set.
setRootDatabaseNameAttribute(SourceElement) - Static method in class org.apache.torque.templates.transformer.om.OMTransformer
Sets the rootDatabaseName attribute of the database element to the database's name.
setSampleObjectAttribute(SourceElement, SchemaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the sampleObject attribute of the column element if it is not already set.
setSaveAttributes(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
setSchemaTypeToSqlTypeMapping(SchemaType, SqlType) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Adds a mapping to the torque schema type -> sql type map.
setSequenceAttributeIfNecessary(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
setSetterNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the setterName attribute of the column element if it is not already set.
setUseDatabaseDefaultValueAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the useDatabaseDefaultValue attribute of the column element to its default "false" if it is not already set.
SizedForBitDataSqlType - Class in org.apache.torque.templates.typemapping
Supports the Derby / DB2 / SQL92 standard for defining Binary data fields with either CHAR(#) FOR BIT DATA or VARCHAR(#) FOR BIT DATA.
SizedForBitDataSqlType(String) - Constructor for class org.apache.torque.templates.typemapping.SizedForBitDataSqlType
 
SizedForBitDataSqlType(String, String) - Constructor for class org.apache.torque.templates.typemapping.SizedForBitDataSqlType
 
SMALLINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
SqlAttributeName - Enum in org.apache.torque.templates.transformer.sql
Contains the attributes created by the SQLTransformer.
SQLTransformer - Class in org.apache.torque.templates.transformer.sql
Transforms the tables in the OM model for sql generation.
SQLTransformer() - Constructor for class org.apache.torque.templates.transformer.sql.SQLTransformer
 
SqlType - Class in org.apache.torque.templates.typemapping
The SQL type data for a column.
SqlType(String) - Constructor for class org.apache.torque.templates.typemapping.SqlType
Creates a new SqlType with the given SQL Type.
SqlType(String, String) - Constructor for class org.apache.torque.templates.typemapping.SqlType
Creates a new SqlType with null scale and null default value.
SqlType(String, String, String) - Constructor for class org.apache.torque.templates.typemapping.SqlType
Creates a new SqlType with null default value.
SqlType(String, String, String, String) - Constructor for class org.apache.torque.templates.typemapping.SqlType
Creates a new SqlType.
SqlType(SqlType, String, String, String) - Constructor for class org.apache.torque.templates.typemapping.SqlType
Creates a new SqlType by copying another sql type.
SqlTypeWithJdbcType - Class in org.apache.torque.templates.typemapping
The SQL type data for a column.
SqlTypeWithJdbcType(String, int) - Constructor for class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
Creates a new SqlType with the given SQL Type.
SqlTypeWithJdbcType(String, int, String) - Constructor for class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
Creates a new SqlType with null scale and null default value.
SqlTypeWithJdbcType(String, int, String, String) - Constructor for class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
Creates a new SqlType with null default value.
SqlTypeWithJdbcType(String, int, String, String, String) - Constructor for class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
Creates a new SqlType.
SqlTypeWithJdbcType(SqlTypeWithJdbcType, String, String, String) - Constructor for class org.apache.torque.templates.typemapping.SqlTypeWithJdbcType
Creates a new SqlType by copying another sql type.

T

TableAttributeName - Enum in org.apache.torque.templates.transformer.om
Contains the attributes for a table source element which are not defined in the Torque schema.
TableChildElementName - Enum in org.apache.torque.templates.transformer.om
Contains the child elements for a table source element which are not defined in the Torque schema.
TemplateOptionName - Enum in org.apache.torque.templates
The option names which are used in the java code of the templates.
TIME_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
TIMESTAMP_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
TINYINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
TorqueSchemaAttributeName - Enum in org.apache.torque.templates
Contains all attribute names from the Torque schema.
TorqueSchemaElementName - Enum in org.apache.torque.templates
Contains all element names from the Torque schema.
TorqueSchemaIdMethod - Enum in org.apache.torque.templates
Holds all IdMethods known in the Torque schema
TorqueSchemaInheritance - Enum in org.apache.torque.templates
The possible values of the inheritance attribute of the column element.
TorqueSchemaJavaType - Enum in org.apache.torque.templates
The possible values the javaType attribute of the column element.
toString() - Method in enum org.apache.torque.templates.TemplateOptionName
 
toString() - Method in enum org.apache.torque.templates.TorqueSchemaAttributeName
 
toString() - Method in enum org.apache.torque.templates.TorqueSchemaElementName
 
toString() - Method in enum org.apache.torque.templates.TorqueSchemaIdMethod
 
toString() - Method in enum org.apache.torque.templates.TorqueSchemaInheritance
 
toString() - Method in enum org.apache.torque.templates.TorqueSchemaJavaType
 
toString() - Method in enum org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.ColumnAttributeName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.ColumnChildElementName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.DatabaseAttributeName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.DatabaseChildElementName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.InheritanceAttributeName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.JavaFieldAttributeName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.ReferenceChildElementName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.TableAttributeName
 
toString() - Method in enum org.apache.torque.templates.transformer.om.TableChildElementName
 
toString() - Method in enum org.apache.torque.templates.transformer.sql.SqlAttributeName
 
toString() - Method in enum org.apache.torque.templates.typemapping.ResultSetGetter
Returns the method name.
toString() - Method in enum org.apache.torque.templates.typemapping.VillageMethod
 
transform(SourceElement, ControllerState, SourceElementName, SourceAttributeName, SourceElementName) - Method in class org.apache.torque.templates.transformer.CollectAttributeSetTrueTransformer
Processes the transformation.
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaTransformer
Transforms the source tree so it can be used by the jdbc2schema templates.
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.IncludeSchemaTransformer
Loads the external schemata tables into the current graph.
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.LoadExternalSchemaTransformer
Loads the external schemata tables into the current graph.
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.mapInit.DatabaseMapInitTableTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.mapInit.DatabaseMapInitTransformer
 
transform(SourceElement, ControllerState, int) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMForeignKeyColumnTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMForeignKeyTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMInheritanceTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMReferencingForeignKeyTableTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMTransformer
Transforms the source tree so it can be used by the om templates.
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.sql.SQLTransformer
 
transformSecondPass(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMForeignKeyTransformer
Second pass of the transformation.
transformTable(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.sql.SQLTransformer
 
TypeMap - Class in org.apache.torque.templates.typemapping
Various mappings for schema types, e.g.

V

valueOf(String) - Static method in enum org.apache.torque.templates.TemplateOptionName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.TorqueSchemaAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.TorqueSchemaElementName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.TorqueSchemaIdMethod
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.TorqueSchemaInheritance
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.TorqueSchemaJavaType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.ColumnAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.ColumnChildElementName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.DatabaseAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.DatabaseChildElementName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.InheritanceAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.JavaFieldAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.ReferenceChildElementName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.TableAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.om.TableChildElementName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.transformer.sql.SqlAttributeName
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.typemapping.JavaType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.typemapping.ResultSetGetter
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.typemapping.SchemaType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.torque.templates.typemapping.VillageMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.torque.templates.TemplateOptionName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.TorqueSchemaAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.TorqueSchemaElementName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.TorqueSchemaIdMethod
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.TorqueSchemaInheritance
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.TorqueSchemaJavaType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.ColumnAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.ColumnChildElementName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.DatabaseAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.DatabaseChildElementName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.InheritanceAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.JavaFieldAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.ReferenceChildElementName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.TableAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.om.TableChildElementName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.transformer.sql.SqlAttributeName
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.typemapping.JavaType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.typemapping.ResultSetGetter
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.typemapping.SchemaType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.torque.templates.typemapping.VillageMethod
Returns an array containing the constants of this enum type, in the order they are declared.
VARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
VARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
 
VillageMethod - Enum in org.apache.torque.templates.typemapping
All available village value conversion methods.

B C D E F G H I J L M N O P Q R S T V

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