Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V _ 

A

allTables - Variable in class org.apache.torque.templates.model.Database
List of all tables, including the tables from loaded external-schema definitions.
allViews - Variable in class org.apache.torque.templates.model.Database
List of all views, including the views from loaded external-schema definitions.
autoIncrement - Variable in class org.apache.torque.templates.model.Column
Whether this column should be automatically set by whatever id generation mechanism used for this column.

B

baseBeanClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the data object bean base class.
baseBeanPackage - Variable in class org.apache.torque.templates.model.Table
The package of the data object bean base class.
baseClass - Variable in class org.apache.torque.templates.model.Table
The base class of the data object class.
baseClass - Variable in class org.apache.torque.templates.model.View
The base class of the data object class.
baseDbObjectClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the data object base class.
baseDbObjectPackage - Variable in class org.apache.torque.templates.model.Table
The package of the data object base class.
baseManagerClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the manager base class.
baseManagerPackage - Variable in class org.apache.torque.templates.model.Table
The package of the manager base class.
basePeer - Variable in class org.apache.torque.templates.model.Table
The base class of the peer class.
basePeer - Variable in class org.apache.torque.templates.model.View
The base class of the peer class.
basePeerClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the peer static wrapper base class.
basePeerImplClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the peer implementation base class.
basePeerPackage - Variable in class org.apache.torque.templates.model.Table
The package of the peer base class.
baseRecordMapperClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the record mapper base class.
baseRecordMapperPackage - Variable in class org.apache.torque.templates.model.Table
The package of the record mapper base class.
beanClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the data object bean class.
beanPackage - Variable in class org.apache.torque.templates.model.Table
The package of the data object bean class.
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
A sample java object for BIGINT columns.
BINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for BINARY columns.
BIT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for BIT columns.
BLOB_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for BLOB columns.
BOOLEANCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for BOOLEANCHAR columns.
BOOLEANINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for BOOLEANINT columns.

C

CHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for CHAR columns.
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.
checkElementName(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMJoinGetterTransformer
Checks that the name of the table 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
A sample java object for CLOB columns.
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
 
Column - Class in org.apache.torque.templates.model
The model of the column tag in a Torque schema file.
Column() - Constructor for class org.apache.torque.templates.model.Column
 
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.
columnList - Variable in class org.apache.torque.templates.model.Table
The columns of this table.
columnList - Variable in class org.apache.torque.templates.model.View
The columns of this view.
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.
createSql - Variable in class org.apache.torque.templates.model.View
The complete SQL for creating the view.

D

Database - Class in org.apache.torque.templates.model
The model of the database tag in a Torque schema file.
Database() - Constructor for class org.apache.torque.templates.model.Database
 
database - Variable in class org.apache.torque.templates.model.ExternalSchema
The database element of the loaded external schema.
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
A sample java object for DATE columns.
dbObjectClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the data object class.
dbObjectPackage - Variable in class org.apache.torque.templates.model.Table
The package of the data object class.
ddlSql - Variable in class org.apache.torque.templates.model.Column
Contains the SQL to define the column.
DECIMAL_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for DECIMAL columns.
defaultIdMethod - Variable in class org.apache.torque.templates.model.Database
The default id method for this database.
defaultJavaType - Variable in class org.apache.torque.templates.model.Database
Whether the columns in this database will use primitive types if possible ("primitive") or will always use object types ("object").
description - Variable in class org.apache.torque.templates.model.Column
The description of (== comment for) the column.
description - Variable in class org.apache.torque.templates.model.Domain
The description of this domain.
description - Variable in class org.apache.torque.templates.model.EnumValue
The description of the enum-value.
description - Variable in class org.apache.torque.templates.model.Table
A description of the table.
description - Variable in class org.apache.torque.templates.model.View
A description of the view.
description - Variable in class org.apache.torque.templates.model.ViewColumn
The description of (== comment for) the view column.
domain - Variable in class org.apache.torque.templates.model.Column
The domain reference name to set common settings.
Domain - Class in org.apache.torque.templates.model
The model of the domain tag in a Torque schema file.
Domain() - Constructor for class org.apache.torque.templates.model.Domain
 
domain - Variable in class org.apache.torque.templates.model.ViewColumn
The domain reference name to set common settings.
domainList - Variable in class org.apache.torque.templates.model.Database
The List of domains for this database.
DOUBLE_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for DOUBLE columns.

E

enumConstraintName - Variable in class org.apache.torque.templates.model.Column
the constraint name for an enum column.
EnumSkipDecider - Class in org.apache.torque.templates.skipdecider
A skip decider which returns true if the attribute "generateEnum" is set to "true" the current source element.
EnumSkipDecider() - Constructor for class org.apache.torque.templates.skipdecider.EnumSkipDecider
 
enumType - Variable in class org.apache.torque.templates.model.Column
The name of the enum type for the column.
EnumValue - Class in org.apache.torque.templates.model
The model of the enum-value tag in a Torque schema file.
EnumValue() - Constructor for class org.apache.torque.templates.model.EnumValue
 
EnumValueAttributeName - Enum in org.apache.torque.templates.transformer.om
Contains the attributes for a enum-value source element which are not defined in the Torque schema.
enumValueList - Variable in class org.apache.torque.templates.model.Column
The list of enum values for this column.
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
 
ExternalSchema - Class in org.apache.torque.templates.model
The model of the externam-schema tag in a Torque schema file.
ExternalSchema() - Constructor for class org.apache.torque.templates.model.ExternalSchema
 
externalSchemaList - Variable in class org.apache.torque.templates.model.Database
The list of external schemas for this database.

F

filename - Variable in class org.apache.torque.templates.model.ExternalSchema
The file name of the external schema.
filename - Variable in class org.apache.torque.templates.model.IncludeSchema
The file name of the schema to include.
FLOAT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for FLOAT columns.
foreign - Variable in class org.apache.torque.templates.model.Reference
The unqualified name of the foreign column.
foreignColumnNames - Variable in class org.apache.torque.templates.model.ForeignKey
Contains all foreign column names in a comma-separated String.
ForeignKey - Class in org.apache.torque.templates.model
The model of the foreign-key tag in a Torque schema file.
ForeignKey() - Constructor for class org.apache.torque.templates.model.ForeignKey
 
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.
foreignKeyList - Variable in class org.apache.torque.templates.model.Table
The foreign keys of this table.
foreignTable - Variable in class org.apache.torque.templates.model.ForeignKey
The name of the foreign table.
formatDateTimeString(Date, String) - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Helper function to format date values to a platform-specific string

G

generateEnum - Variable in class org.apache.torque.templates.model.Column
Whether to generate an enum constraint for the column (nb: predefined enums can be defined for which no constraint can be defuned).
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
 
getDefaultValueAsDate(String) - Static method in class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
Parses the default value String as Date.
getDefaultValueWithDefaultSet(JavaType, String, boolean, SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
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.OMColumnJavaTransformer
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
 
getDomain(Column, ControllerState) - Static method in class org.apache.torque.templates.transformer.SchemaTypeHelper
 
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.
getMethod() - Method in enum org.apache.torque.templates.typemapping.ResultSetGetter
Returns the method name.
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.EnumValueAttributeName
Returns the name of the referenced source element attribute.
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.
getNew(String, String, String) - Method in class org.apache.torque.templates.typemapping.SizedForBitDataSqlType
 
getNew(String, String, String) - Method in class org.apache.torque.templates.typemapping.SqlType
Returns a new instance with the given sqlTypeName, size, scale and default value.
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
 
getSchemaType(SourceElement, ControllerState) - Static method in class org.apache.torque.templates.transformer.SchemaTypeHelper
Determines the schema type of a column.
getSchemaType(Column, 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
 
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.
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.PlatformMysqlImpl
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

hasNext - Variable in class org.apache.torque.templates.model.EnumValue
Whether another enumValue exists in the list of enumValues where this enumValue belongs to.
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.PlatformHsqldbImpl
 
hasScale(String) - Method in class org.apache.torque.templates.platform.PlatformMysqlImpl
precison in time formats is more like a scale, which is the number of digits to the right of the decimal point in a number.
hasScale(String) - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
 
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.PlatformHsqldbImpl
Caveat, read HSQLDB e.g.
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformMssqlImpl
 
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformMysqlImpl
 
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformOracleImpl
 
hasSize(String) - Method in class org.apache.torque.templates.platform.PlatformPostgresqlImpl
 
hasUniqueConstraintSize() - Method in interface org.apache.torque.templates.platform.Platform
Returns whether the database has schema support unique constraint for columns with size
hasUniqueConstraintSize() - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
 
hasUniqueConstraintSize() - Method in class org.apache.torque.templates.platform.PlatformMysqlImpl
Returns whether the database has schema support unique constraint for columns with size

I

idMethod - Variable in class org.apache.torque.templates.model.Table
The id method to use.
IdMethodParameter - Class in org.apache.torque.templates.model
The model of the id-method-parameter tag in a Torque schema file.
IdMethodParameter() - Constructor for class org.apache.torque.templates.model.IdMethodParameter
 
idMethodParameterList - Variable in class org.apache.torque.templates.model.Table
The id method parameters for this table.
IncludeSchema - Class in org.apache.torque.templates.model
The model of the include-schema tag in a Torque schema file.
IncludeSchema() - Constructor for class org.apache.torque.templates.model.IncludeSchema
 
includeSchemaList - Variable in class org.apache.torque.templates.model.Database
The list of included schemas for this database.
IncludeSchemaTransformer - Class in org.apache.torque.templates.transformer
A SourceTransformer which includes other schemata into the current graph.
IncludeSchemaTransformer() - Constructor for class org.apache.torque.templates.transformer.IncludeSchemaTransformer
Standard constructor.
IncludeSchemaTransformer(File) - Constructor for class org.apache.torque.templates.transformer.IncludeSchemaTransformer
Constructor to override base dir.
Index - Class in org.apache.torque.templates.model
The model of the index tag in a Torque schema file.
Index() - Constructor for class org.apache.torque.templates.model.Index
 
IndexColumn - Class in org.apache.torque.templates.model
The model of the index-column tag in a Torque schema file.
IndexColumn() - Constructor for class org.apache.torque.templates.model.IndexColumn
 
indexColumnList - Variable in class org.apache.torque.templates.model.Index
The list of indexColumns for the index.
indexColumnNames - Variable in class org.apache.torque.templates.model.Index
Contains all index column names in a comma-separated String.
indexList - Variable in class org.apache.torque.templates.model.Table
The index list for this table.
Inheritance - Class in org.apache.torque.templates.model
The model of the inheritance tag in a Torque schema file.
Inheritance() - Constructor for class org.apache.torque.templates.model.Inheritance
 
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.
inheritanceList - Variable in class org.apache.torque.templates.model.Column
The list of inheritances for this column.
inheritances - Variable in class org.apache.torque.templates.model.ViewColumn
The list of inheritances for this view column.
inheritanceType - Variable in class org.apache.torque.templates.model.Column
The inheritance method used.
INTEGER_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for INTEGER columns.
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).
javaName - Variable in class org.apache.torque.templates.model.Column
The field name for the column in the database object.
javaName - Variable in class org.apache.torque.templates.model.EnumValue
The java name of the enum-value.
javaName - Variable in class org.apache.torque.templates.model.Table
The unqualified name of the data object class.
javaName - Variable in class org.apache.torque.templates.model.View
The unqualified name of the data object class.
javaName - Variable in class org.apache.torque.templates.model.ViewColumn
The field name for the view column in the database object.
javaTransformer - Variable in class org.apache.torque.templates.transformer.om.OMColumnTransformer
 
javaType - Variable in class org.apache.torque.templates.model.Column
The type of the field for the column in the database object.
javaType - Variable in class org.apache.torque.templates.model.ViewColumn
The type of the field for the view column in the database object.
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
 

K

key - Variable in class org.apache.torque.templates.model.Inheritance
A value found in the column marked as the inheritance key column.
key - Variable in class org.apache.torque.templates.model.Option
The key of the option.

L

LoadExternalSchemaTransformer - Class in org.apache.torque.templates.transformer
A SourceTransformer which loads the external schemata tables and views into the current graph.
LoadExternalSchemaTransformer() - Constructor for class org.apache.torque.templates.transformer.LoadExternalSchemaTransformer
Standard constructor.
LoadExternalSchemaTransformer(File) - Constructor for class org.apache.torque.templates.transformer.LoadExternalSchemaTransformer
Constructor to override base dir.
local - Variable in class org.apache.torque.templates.model.Reference
The unqualified name of the local column.
localColumnNames - Variable in class org.apache.torque.templates.model.ForeignKey
Contains all local column names in a comma-separated String.
LONGVARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for LONGVARBINARY columns.
LONGVARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for LONGVARCHAR columns.

M

managerClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the manager class.
managerPackage - Variable in class org.apache.torque.templates.model.Table
The package of the manager class.
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

name - Variable in class org.apache.torque.templates.model.Column
The column's name.
name - Variable in class org.apache.torque.templates.model.Database
The name of the database.
name - Variable in class org.apache.torque.templates.model.Domain
The name of the domain.
name - Variable in class org.apache.torque.templates.model.ForeignKey
The name of the foreign key.
name - Variable in class org.apache.torque.templates.model.IdMethodParameter
The name of the parameter.
name - Variable in class org.apache.torque.templates.model.Index
The name of the index.
name - Variable in class org.apache.torque.templates.model.IndexColumn
The name of the referenced column.
name - Variable in class org.apache.torque.templates.model.Table
The table's name.
name - Variable in class org.apache.torque.templates.model.Unique
The name of the constraint.
name - Variable in class org.apache.torque.templates.model.UniqueColumn
The unqualified name of the column to be included in the unique constraint.
name - Variable in class org.apache.torque.templates.model.View
The view's name.
name - Variable in class org.apache.torque.templates.model.ViewColumn
The view column's name.
NUMERIC_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for NUMERIC columns.

O

OMColumnJavaTransformer - Class in org.apache.torque.templates.transformer.om
Does java related mappings.
OMColumnJavaTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
 
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
 
OMJoinGetterTransformer - Class in org.apache.torque.templates.transformer.om
Creates the joinGetter Elements on a table.
OMJoinGetterTransformer() - Constructor for class org.apache.torque.templates.transformer.om.OMJoinGetterTransformer
 
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
 
onDelete - Variable in class org.apache.torque.templates.model.ForeignKey
The action performed by the database if the referenced record is deleted.
onUpdate - Variable in class org.apache.torque.templates.model.ForeignKey
The action performed by the database if the referenced record is updated.
optimisticLockingMode - Variable in class org.apache.torque.templates.model.Table
The optimistic Locking mode to use.
Option - Class in org.apache.torque.templates.model
The model of the option tag in a Torque schema file.
Option() - Constructor for class org.apache.torque.templates.model.Option
 
optionList - Variable in class org.apache.torque.templates.model.Column
The list of options for this column.
optionList - Variable in class org.apache.torque.templates.model.Database
The list of options for this database.
optionList - Variable in class org.apache.torque.templates.model.ForeignKey
The list of options for this foreign key.
optionList - Variable in class org.apache.torque.templates.model.Index
The list of otions for the index.
optionList - Variable in class org.apache.torque.templates.model.Table
The options for this table.
optionList - Variable in class org.apache.torque.templates.model.Unique
The options for this unique constraint.
optionList - Variable in class org.apache.torque.templates.model.View
The options for this view.
options - Variable in class org.apache.torque.templates.model.ViewColumn
The list of options for this view column.
org.apache.torque.templates - package org.apache.torque.templates
Contains enums used throughout the templates.
org.apache.torque.templates.model - package org.apache.torque.templates.model
This package contains the typed model for the torque schema.
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

parent - Variable in class org.apache.torque.templates.model.Column
The table to which the column belongs.
parent - Variable in class org.apache.torque.templates.model.Domain
The database where this domain is defined.
parent - Variable in class org.apache.torque.templates.model.EnumValue
The column to which this enum-value definition belongs to.
parent - Variable in class org.apache.torque.templates.model.ExternalSchema
The database to which this external schema definition belongs to.
parent - Variable in class org.apache.torque.templates.model.ForeignKey
The table to which this foreign key definition belongs.
parent - Variable in class org.apache.torque.templates.model.IdMethodParameter
The table where the id method parameter belongs to.
parent - Variable in class org.apache.torque.templates.model.IncludeSchema
The schema root into which the referenced schema should be included.
parent - Variable in class org.apache.torque.templates.model.Index
The table to which the index belongs.
parent - Variable in class org.apache.torque.templates.model.IndexColumn
The index to which the IndexColumn belongs.
parent - Variable in class org.apache.torque.templates.model.Inheritance
The column to which this inheritance definition belongs to.
parent - Variable in class org.apache.torque.templates.model.Option
The direct parent of the option.
parent - Variable in class org.apache.torque.templates.model.Reference
The foreign key to which this column mapping belongs.
parent - Variable in class org.apache.torque.templates.model.Table
The database to which this table belongs.
parent - Variable in class org.apache.torque.templates.model.Unique
The table where this unique constraint belongs to.
parent - Variable in class org.apache.torque.templates.model.UniqueColumn
The unique constraint to which this unique column definition belongs.
parent - Variable in class org.apache.torque.templates.model.View
The database to which this view belongs.
parent - Variable in class org.apache.torque.templates.model.ViewColumn
The view to which the view column belongs.
peerClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the peer static wrapper class.
peerImplClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the peer implementation class.
peerInterface - Variable in class org.apache.torque.templates.model.Table
The interface for the peer class.
PeerInterfaceSkipDecider - Class in org.apache.torque.templates.skipdecider
A skip decider which returns true if the attribute "peerInterface" is set on the current source element and if the name does not contain a dot.
PeerInterfaceSkipDecider() - Constructor for class org.apache.torque.templates.skipdecider.PeerInterfaceSkipDecider
 
peerPackage - Variable in class org.apache.torque.templates.model.Table
The package of the peer class.
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.
primaryKey - Variable in class org.apache.torque.templates.model.Column
Whether this column is a primary key of this column.
primaryKeyColumnNames - Variable in class org.apache.torque.templates.model.Table
The attribute contains all primary key columns in a comma-separated String.
primaryKeyConstraintName - Variable in class org.apache.torque.templates.model.Table
The name of the constraint defining the primary key of a table.
primaryKeyList - Variable in class org.apache.torque.templates.model.Table
Contains all primary key columns of the table.
printScale() - Method in class org.apache.torque.templates.typemapping.SqlType
Return the scale in brackets for use in an SQL script.
printSize(String) - Method in class org.apache.torque.templates.typemapping.SizedForBitDataSqlType
 
printSize(String) - Method in class org.apache.torque.templates.typemapping.SqlType
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.EnumSkipDecider
 
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
 
proceed(ControllerState) - Method in class org.apache.torque.templates.skipdecider.PeerInterfaceSkipDecider
 

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
A sample java object for REAL columns.
recordMapperClassName - Variable in class org.apache.torque.templates.model.Table
The class name of the record mapper class.
recordMapperPackage - Variable in class org.apache.torque.templates.model.Table
The package of the record mapper class.
Reference - Class in org.apache.torque.templates.model
The model of the reference tag in a Torque schema file.
Reference() - Constructor for class org.apache.torque.templates.model.Reference
 
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.
referenceList - Variable in class org.apache.torque.templates.model.ForeignKey
The list of column references for this foreign key.
required - Variable in class org.apache.torque.templates.model.Column
Whether this column is required to be not-null.
ResultSetGetter - Enum in org.apache.torque.templates.typemapping
All available result set getter methods.
rootDatabaseName - Variable in class org.apache.torque.templates.model.Database
The name of the root database.

S

saveMethodsInDbObjects - Variable in class org.apache.torque.templates.model.Table
Whether the save method resides in the data objects (default is it is in the peer).
scale - Variable in class org.apache.torque.templates.model.Column
The scale of the column.
scale - Variable in class org.apache.torque.templates.model.Domain
The scale of the columns belonging to this domain.
scale - Variable in class org.apache.torque.templates.model.ViewColumn
The scale of the view column.
schemaNameList - Variable in class org.apache.torque.templates.model.Database
List of all schema names in the tables of the database.
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.
select - Variable in class org.apache.torque.templates.model.ViewColumn
The sql snippet which contains the value to select.
sequenceName - Variable in class org.apache.torque.templates.model.Table
The name of the sequence from which the primary key of the table is generated.
setAccessModifierAttributes(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
Sets the attributes getterAccessModifier 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, ControllerState) - 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
 
setEnumAttributes(SourceElement, ControllerState) - Static method in class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
Sets the enumClassName, enumPackage and generateEnum Attributes if either enumValue child elements (xml element enum-value) are present or the enumType attribute is set on the column.
setEnumValueJavaNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
 
setEnumValueJavaValueAttribute(SourceElement, JavaType) - Method in class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
 
setFieldJavaType(SourceElement, SchemaType, String) - Method in class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
Returns the java type of the field representing a database column.
setFieldNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMColumnJavaTransformer
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.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.OMColumnJavaTransformer
Sets the javaName attribute of the column element if it is not already set.
setJavaNameAttribute(SourceElement, ControllerState) - 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.OMColumnJavaTransformer
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.
setRootDatabaseName(Database) - Static method in class org.apache.torque.templates.transformer.om.OMTransformer
Sets the rootDatabaseName attribute of the database element to the database's name.
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.
setUnqualifiedNameAttribute(SourceElement) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
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.
size - Variable in class org.apache.torque.templates.model.Column
How many decimal places, characters or bytes the column can take.
size - Variable in class org.apache.torque.templates.model.Domain
The size of the columns belonging to this domain.
size - Variable in class org.apache.torque.templates.model.UniqueColumn
The optional size of the column to be included in the unique constraint.
size - Variable in class org.apache.torque.templates.model.ViewColumn
How many decimal places, characters or bytes the view column can take.
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
 
SizedForBitDataSqlType(SqlType, String, String, String) - Constructor for class org.apache.torque.templates.typemapping.SizedForBitDataSqlType
 
skipSql - Variable in class org.apache.torque.templates.model.Table
Whether sql generation should be skipped.
skipSql - Variable in class org.apache.torque.templates.model.View
Whether sql generation should be skipped.
SMALLINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for SMALLINT columns.
SqlAttributeName - Enum in org.apache.torque.templates.transformer.sql
Contains the attributes created by the SQLTransformer.
SQLModelTransformer - Class in org.apache.torque.templates.transformer.sql
Transforms the tables in the OM model for sql generation.
SQLModelTransformer() - Constructor for class org.apache.torque.templates.transformer.sql.SQLModelTransformer
 
sqlSuffix - Variable in class org.apache.torque.templates.model.View
The remainder of the sql for the view after column definitions.
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.
sqlValue - Variable in class org.apache.torque.templates.model.EnumValue
The properly escaped sql value for the value.

T

Table - Class in org.apache.torque.templates.model
The model of the table tag in a Torque schema file.
Table() - Constructor for class org.apache.torque.templates.model.Table
 
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.
tableList - Variable in class org.apache.torque.templates.model.Database
The list of tables for this database.
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
A sample java object for TIME columns.
TIMESTAMP_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for TIMESTAMP columns.
TINYINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for TINYINT columns.
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 class org.apache.torque.templates.model.Database
 
toString() - Method in class org.apache.torque.templates.model.Table
 
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.EnumValueAttributeName
 
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.
transform(SourceElement, ControllerState, SourceElementName, SourceAttributeName, SourceElementName) - Method in class org.apache.torque.templates.transformer.CollectAttributeSetTrueTransformer
Processes the transformation.
transform(Object, ControllerState) - Method in class org.apache.torque.templates.transformer.IncludeSchemaTransformer
Loads the included schema objects into the current source graph.
transform(Database, ControllerState) - Method in class org.apache.torque.templates.transformer.IncludeSchemaTransformer
Loads the included schema content into the current model.
transform(Object, 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(Object, ControllerState) - Method in class org.apache.torque.templates.transformer.LoadExternalSchemaTransformer
Loads the external schemata tables into the current graph.
transform(Database, ControllerState) - Method in class org.apache.torque.templates.transformer.LoadExternalSchemaTransformer
Loads the external schemata tables into the current graph.
transform(Object, ControllerState) - Method in class org.apache.torque.templates.transformer.om.mapInit.DatabaseMapInitTableTransformer
 
transform(Object, 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.OMJoinGetterTransformer
 
transform(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMReferencingForeignKeyTableTransformer
 
transform(Object, ControllerState) - Method in class org.apache.torque.templates.transformer.om.OMTableAndViewTransformer
 
transform(Object, 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(Object, ControllerState) - Method in class org.apache.torque.templates.transformer.sql.SQLModelTransformer
 
transform(Object, 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(Table, Database, ControllerState) - Method in class org.apache.torque.templates.transformer.sql.SQLModelTransformer
 
transformTable(SourceElement, ControllerState) - Method in class org.apache.torque.templates.transformer.sql.SQLTransformer
 
type - Variable in class org.apache.torque.templates.model.Column
The type of the column.
type - Variable in class org.apache.torque.templates.model.Domain
The torque type of the columns belonging to this domain.
type - Variable in class org.apache.torque.templates.model.ViewColumn
The type of the view column.
TypeMap - Class in org.apache.torque.templates.typemapping
Various mappings for schema types, e.g.

U

Unique - Class in org.apache.torque.templates.model
The model of the unique tag in a Torque schema file.
Unique() - Constructor for class org.apache.torque.templates.model.Unique
 
UniqueColumn - Class in org.apache.torque.templates.model
The model of the unique-column tag in a Torque schema file.
UniqueColumn() - Constructor for class org.apache.torque.templates.model.UniqueColumn
 
uniqueColumnList - Variable in class org.apache.torque.templates.model.Unique
The columns in this unique constraint.
uniqueColumnNames - Variable in class org.apache.torque.templates.model.Unique
Contains all unique column names in a comma-separated String with optional character size of each column.
uniqueList - Variable in class org.apache.torque.templates.model.Table
The list of unique indices for this table.
unqualifiedName - Variable in class org.apache.torque.templates.model.Table
The unqualified part of the table name, omitting schema and database information.
useDatabaseDefaultValue - Variable in class org.apache.torque.templates.model.Column
Whether the database default value should be used when saving this column.
useManagers - Variable in class org.apache.torque.templates.model.Table
Override flag whether manager classes are used in this table.
usesStandaloneSchema() - Method in interface org.apache.torque.templates.platform.Platform
Returns whether the database has schema support where a schema is not tied to a user (oracle) or database (mysql), but can be created separately.
usesStandaloneSchema() - Method in class org.apache.torque.templates.platform.PlatformDefaultImpl
Returns whether the database has schema support where a schema is not tied to a user (oracle) or database (mysql), but can be created separately.
usesStandaloneSchema() - Method in class org.apache.torque.templates.platform.PlatformHsqldbImpl
Returns whether the database has schema support where a schema is not tied to a user (oracle) or database (mysql), but can be created separately.
usesStandaloneSchema() - Method in class org.apache.torque.templates.platform.PlatformMssqlImpl
Returns whether the database has schema support where a schema is not tied to a user (oracle) or database (mysql), but can be created separately.
usesStandaloneSchema() - Method in class org.apache.torque.templates.platform.PlatformPostgresqlImpl
Returns whether the database has schema support where a schema is not tied to a user (oracle) or database (mysql), but can be created separately.

V

value - Variable in class org.apache.torque.templates.model.EnumValue
The value of the enum-value.
value - Variable in class org.apache.torque.templates.model.IdMethodParameter
The value of the parameter.
value - Variable in class org.apache.torque.templates.model.Option
The value of the option.
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.EnumValueAttributeName
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.
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.EnumValueAttributeName
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.
VARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for VARBINARY columns.
VARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
A sample java object for VARCHAR columns.
version - Variable in class org.apache.torque.templates.model.Column
Whether this column is a version column.
View - Class in org.apache.torque.templates.model
The model of the view tag in a Torque schema file.
View() - Constructor for class org.apache.torque.templates.model.View
 
ViewColumn - Class in org.apache.torque.templates.model
The model of the column tag in a Torque schema file.
ViewColumn() - Constructor for class org.apache.torque.templates.model.ViewColumn
 
viewList - Variable in class org.apache.torque.templates.model.Database
The list of views for this database.

_

_abstract - Variable in class org.apache.torque.templates.model.Table
Whether the data object class is abstract.
_abstract - Variable in class org.apache.torque.templates.model.View
Whether the data object class is abstract.
_class - Variable in class org.apache.torque.templates.model.Inheritance
The class name for the object that will inherit the record values.
_default - Variable in class org.apache.torque.templates.model.Column
The default value of the column.
_default - Variable in class org.apache.torque.templates.model.Domain
The default value of the columns belonging to this domain.
_extends - Variable in class org.apache.torque.templates.model.Inheritance
The class that the inheritor class will extend.
_interface - Variable in class org.apache.torque.templates.model.Table
Specifies an interface that the generated data object class implements.
_protected - Variable in class org.apache.torque.templates.model.Column
Whether getters and setters for the field in the database object should be protected instead of public.
_protected - Variable in class org.apache.torque.templates.model.ViewColumn
Whether getters and setters for the field in the database object should be protected instead of public.
A B C D E F G H I J K L M N O P Q R S T U V _ 
Skip navigation links

Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.