Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ADDER_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
In case the field is a collection: The name of the method used to add one object to the collection.
- ADDER_THROWS - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The throws clause (excluding "throws " itself) for the adder method.
- ALL_TABLES - Enum constant in enum class org.apache.torque.templates.transformer.om.DatabaseChildElementName
-
The element containing all known tables including those loaded from an external schema.
- ALL_VIEWS - Enum constant in enum class org.apache.torque.templates.transformer.om.DatabaseChildElementName
-
The element containing all known views including those loaded from an external schema.
- 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.
- ARRAY - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getArray Method.
- ARRAY - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype ARRAY.
- ASCII_STREAM - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getAsciiStream Method.
- AUTO_INCREMENT - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute autoIncrement.
- 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
- BASE_CLASS - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute baseClass.
- BASE_DATABASE_MAP_INIT_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.DatabaseAttributeName
-
The name of the mapInit class to generate.
- BASE_MANAGER_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the base manager class.
- 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.
- BEAN_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
The class name of the bean class created from this inheritance element.
- BEAN_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the bean class.
- BEAN_EXTENDS - Enum constant in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
The base class of the bean class created from this inheritance element.
- BEAN_GETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
The name of the getter in the bean class.
- BEAN_PACKAGE - Enum constant in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
The package of the bean class created from this inheritance element.
- BEAN_PACKAGE - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The package name of the bean class.
- BEAN_SETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
The name of the setter in the bean 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
- BIG_DECIMAL - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.math.BigDecimal.
- BIG_DECIMAL - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getBigDecimal Method.
- BIGINT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype BIGINT.
- BIGINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for BIGINT columns.
- BINARY - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype BINARY.
- BINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for BINARY columns.
- BINARY_STREAM - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getBinaryStream Method.
- BIT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype BIT.
- BIT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for BIT columns.
- BLOB - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getBlob Method.
- BLOB - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype BLOB.
- BLOB_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for BLOB columns.
- BOOLEAN - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getBoolean Method.
- BOOLEAN_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Boolean.
- BOOLEAN_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive boolean.
- BOOLEANCHAR - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype CHAR interpreted as Boolean.
- BOOLEANCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for BOOLEANCHAR columns.
- BOOLEANINT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype INTEGER interpreted as Boolean.
- BOOLEANINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for BOOLEANINT columns.
- BYTE - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getByte Method.
- BYTE_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Byte.
- BYTE_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive byte.
- BYTE_PRIMITIVE_ARRAY - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive byte array.
- BYTES - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getBytes Method.
C
- CHAR - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype CHAR.
- CHAR_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Char.
- CHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for CHAR columns.
- CHAR_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive char.
- CHARACTER_STREAM - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getCharacterStream Method.
- 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) - Static method in enum class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
-
Checks whether all required options are set.
- checkRequiredOptions(ControllerState, TemplateOptionName...) - Static method in enum class org.apache.torque.templates.TemplateOptionName
-
Checks whether all required options are set.
- CLASS - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute class.
- CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
The name of the class created from this inheritance element.
- CLASSKEY_CONSTANT - Enum constant in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
The name of the constant in the peer which contains the key for the processed inheritance class.
- CLOB - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getClob Method.
- CLOB - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype CLOB.
- 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
- COLUMN - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element column.
- ColumnAttributeName - Enum Class 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 Class 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 - Variable in class org.apache.torque.templates.model.ExternalSchema
-
The database element of the loaded external schema.
- 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 - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The database vendor.
- DATABASE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element database.
- DATABASE_MAP_INIT_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.DatabaseAttributeName
-
The name of the mapInit class to generate.
- DATABASE_NAME - Enum constant in enum class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
-
The name of the database to generate.
- DatabaseAttributeName - Enum Class 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 Class 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 - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.util.Date.
- DATE - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getDate Method.
- DATE - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype DATE.
- DATE_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for DATE columns.
- DB_OBJECT_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the database object class.
- DB_OBJECT_PACKAGE - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The package name of the database object.
- 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.
- DDL_SQL - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains the SQL to define the column.
- ddlSql - Variable in class org.apache.torque.templates.model.Column
-
Contains the SQL to define the column.
- DECIMAL - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype DECIMAL.
- DECIMAL_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for DECIMAL columns.
- DEFAULT - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute default.
- DEFAULT_ID_METHOD - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute defaultIdMethod.
- DEFAULT_JAVA_TYPE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute defaultJavaType.
- DEFAULT_TYPE - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The default type for a column if no type is given.
- DEFAULT_VALUE - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The default value for the field.
- 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.
- DESCRIPTION - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The description of the field.
- DISTINCT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype DISTINCT.
- domain - Variable in class org.apache.torque.templates.model.Column
-
The domain reference name to set common settings.
- domain - Variable in class org.apache.torque.templates.model.ViewColumn
-
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 - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute domain.
- DOMAIN - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element domain.
- domainList - Variable in class org.apache.torque.templates.model.Database
-
The List of domains for this database.
- DOUBLE - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getDouble Method.
- DOUBLE - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype DOUBLE.
- DOUBLE_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Double.
- DOUBLE_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for DOUBLE columns.
- DOUBLE_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive double.
E
- ENUM - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Enum.
- ENUM_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The unqualified name of the enum type of the column.
- ENUM_CONSTRAINT_NAME - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains the constraint name if the column contains an enum.
- ENUM_PACKAGE - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The package of the enum type of the column.
- ENUM_TYPE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute version
- ENUM_VALUE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element enum-value.
- ENUM_VALUE_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The unqualified class name of the value contained in enum type of the column.
- 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 Class 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
- EXTENDS - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute extends.
- EXTERNAL_SCHEMA - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element external-schema
- 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
- FALSE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaInheritance
-
This column does nor define an inheritance column.
- FIELD_ACCESS_MODIFIER - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The access modifier (e.g.
- FIELD_CONTAINED_TYPE - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
In case the field is a collection: The type of the objects contained in the collection.
- FIELD_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The name of the field
- FIELD_OBJECT_TYPE - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The object (non-primitive) type for a field.
- FIELD_TYPE - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The type of the field
- 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.
- FILENAME - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute filename.
- FILLER_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
In case the field can be filled somehow: The name of the method used to fill the field.
- FLOAT - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getFloat Method.
- FLOAT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype FLOAT.
- FLOAT_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Float.
- FLOAT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for FLOAT columns.
- FLOAT_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive float.
- foreign - Variable in class org.apache.torque.templates.model.Reference
-
The unqualified name of the foreign column.
- FOREIGN - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute foreign.
- FOREIGN - Enum constant in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
The foreign elements of the JOIN_GETTER.
- FOREIGN_COLUMN - Enum constant in enum class org.apache.torque.templates.transformer.om.ReferenceChildElementName
-
The element containing the foreign column for the parent reference element.
- FOREIGN_COLUMN_CRITERIA_CACHE_FIELD - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
The name of the cache field for the criteria with which the last collection was accessed.
- FOREIGN_COLUMN_NAMES - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains all foreign column names in a comma-separated String.
- FOREIGN_FIELD - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
-
The child element containing information about the field in the foreign database object containing the referenced local database object.
- FOREIGN_FIELD_IN_BEAN - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
-
The child element containing information about the field in the foreign bean containing the referenced local beans.
- FOREIGN_FIELD_JOIN_GETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
The name of the getter method in the database object which joins the other table.
- FOREIGN_KEY - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element foreign-key.
- FOREIGN_KEY_GETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
-
The name of the getter method for the foreign key object.
- FOREIGN_TABLE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute foreignTable.
- 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 Class 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 Class 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 Class 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
- GENERATE_ENUM - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
Whether to generate an enum type for the column (nb: predefined enums can be defined which need not be generated).
- 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).
- GET_CURRENT_DATE_METHOD_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The variable name in which the name of the getDefaultDate method us defined, is it should be generated.
- GET_CURRENT_TIME_METHOD_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The variable name in which the name of the getDefaultTime method us defined, is it should be generated.
- GET_CURRENT_TIMESTAMP_METHOD_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The variable name in which the name of the getDefaultTimestamp method us defined, is it should be generated.
- 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 class org.apache.torque.templates.typemapping.ResultSetGetter
-
Retursn the ResultSetGetter with the given method name.
- getClassName() - Method in enum class 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 class 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 class org.apache.torque.templates.typemapping.SchemaType
-
Returns the corresponding jdbc type.
- getMethod() - Method in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
Returns the method name.
- getName() - Method in enum class org.apache.torque.templates.TemplateOptionName
-
Returns the name of the option.
- getName() - Method in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
returns the name of the attribute.
- getName() - Method in enum class org.apache.torque.templates.TorqueSchemaElementName
-
Returns the name of the element.
- getName() - Method in enum class org.apache.torque.templates.TorqueSchemaIdMethod
-
Returns the name of the idMethod.
- getName() - Method in enum class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
-
Returns the name of the option.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
Returns the name of the referenced source element attribute.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.ColumnChildElementName
-
Returns the name of the referenced source element.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.DatabaseAttributeName
-
Returns the name of the referenced source element attribute.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.DatabaseChildElementName
-
Returns the name of the referenced source element.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.EnumValueAttributeName
-
Returns the name of the referenced source element attribute.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
-
Returns the name of the referenced source element.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
Returns the name of the referenced source element.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
-
Returns the name of the referenced source element.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
Returns the name of the referenced source element attribute.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
Returns the name of the referenced source element attribute.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.ReferenceChildElementName
-
Returns the name of the referenced source element.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
Returns the name of the referenced source element attribute.
- getName() - Method in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
Returns the name of the referenced source element.
- getName() - Method in enum class 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 class 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. for Oracle VARCHAR2 columns, it typically makes sense to use 'XXX CHAR' instead of 'XXX' as size.
- 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. for Oracle VARCHAR2 columns, it typically makes sense to use 'x CHAR' instead of 'x' as size.
- 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. for Oracle VARCHAR2 columns, it typically makes sense to use 'x CHAR' instead of 'x' as size.
- 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.
- GETTER_ACCESS_MODIFIER - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The access modifier (e.g.
- GETTER_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The method name of the setter for the field.
- GETTER_THROWS - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The throws clause (excluding "throws " itself) for the getter method.
- 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 class org.apache.torque.templates.TorqueSchemaInheritance
-
Returns the value of the inheritance attribute.
- getValue() - Method in enum class 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
- ID_METHOD - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute idMethod.
- ID_METHOD_PARAMETER - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element id-method-param.
- IDBROKER - Enum constant in enum class org.apache.torque.templates.TorqueSchemaIdMethod
-
Primary keys are generated via the IdBroker.
- 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.
- INCLUDE_SCHEMA - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element include-schema
- 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
- INDEX - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element index.
- INDEX_COLUMN - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element index-column.
- INDEX_COLUMN_NAMES - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains all index column names in a comma-separated String.
- 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
- INHERITANCE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute inheritance.
- INHERITANCE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element inheritance.
- INHERITANCE_COLUMN - Enum constant in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
The element containing the inheritance column.
- InheritanceAttributeName - Enum Class 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.
- INITIALIZER_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
In case the field must be initialized on first access, this contains the name of the init method.
- INITIALIZER_THROWS - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The throws clause (excluding "throws " itself) for the initializer method.
- INITIALIZER_TYPE - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
In case the type cannot be instantiated (e.g. is an interface like List), this provides the type of the object the field is initialized with.
- INT - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getInt Method.
- INTEGER - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype INTEGER.
- INTEGER_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Integer.
- INTEGER_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for INTEGER columns.
- INTEGER_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive int.
- INTERFACE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute interface.
- 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
- IS_ENUM - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
Whether this column is an enum.
- IS_INITIALIZED_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
In case the field must be initialized on first access, this contains the name of the method which returns whether the field has been initialized.
- 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 class org.apache.torque.templates.typemapping.JavaType
-
Returns whether the type is a number.
- isPrimitive() - Method in enum class org.apache.torque.templates.typemapping.JavaType
-
Returns whether the type is a primitive type.
- isRequired() - Method in enum class 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
- JAVA_NAME - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute javaName.
- JAVA_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype JAVA_OBJECT.
- JAVA_TYPE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute javaType.
- JAVA_VALUE - Enum constant in enum class org.apache.torque.templates.transformer.om.EnumValueAttributeName
-
The java value of the enum Attribute.
- JavaFieldAttributeName - Enum Class 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 Class in org.apache.torque.templates.typemapping
-
An enum for all java types known to the generator.
- Jdbc2SchemaOptionName - Enum Class 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
- JOIN_GETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
A getter to join a table remote by two foreign key relations.
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.
- KEY - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute key
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.
- LOCAL - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute local.
- LOCAL - Enum constant in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
The local elements of the JOIN_GETTER.
- LOCAL_COLUMN - Enum constant in enum class org.apache.torque.templates.transformer.om.ReferenceChildElementName
-
The element containing the local column for the parent reference element.
- LOCAL_COLUMN_NAMES - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains all local column names in a comma-separated String.
- LOCAL_FIELD - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
-
The child element containing information about the field in the local database object containing the referenced foreign database object.
- LOCAL_FIELD_IN_BEAN - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
-
The child element containing information about the field in the local bean containing the referenced foreign bean.
- localColumnNames - Variable in class org.apache.torque.templates.model.ForeignKey
-
Contains all local column names in a comma-separated String.
- LONG - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getLong Method.
- LONG_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Long.
- LONG_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive long.
- LONGVARBINARY - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype LONGVARBINARY.
- LONGVARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for LONGVARBINARY columns.
- LONGVARCHAR - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype LONGVARCHAR.
- LONGVARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for LONGVARCHAR columns.
M
- MANAGER_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the manager class.
- 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.
- NAME - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute name.
- NATIVE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaIdMethod
-
Primary keys are generated via the native method of the database (i.e. sequences or autoincrement).
- NONE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaIdMethod
-
Primary keys are not generated automatically.
- NULL - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype NULL.
- NUMBER_TYPE - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
Whether the column is a number column.
- NUMERIC - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype NUMERIC.
- NUMERIC_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for NUMERIC columns.
O
- OBJECT - Enum constant in enum class org.apache.torque.templates.TorqueSchemaJavaType
-
The java attribute will be an object (e.g.
- OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getObject Method.
- OM_ADD_SAVE_METHODS - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option which controls whether save methods are generated at all.
- OM_ADDER_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the prefix of the adder methods.
- OM_ADDER_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the suffix of the adder methods.
- OM_BASE_DATABASE_MAP_INIT_CLASS_NAME_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The additional prefix of the name of the baseMapInit class.
- OM_DATABASE_MAP_INIT_CLASS_NAME_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The prefix of the name of the mapInit class.
- OM_DATABASE_MAP_INIT_CLASS_NAME_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The suffix of the name of the mapInit class.
- OM_DB_OBJECT_DEFAULT_BASE_CLASS - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The default base class for dbObjects.
- OM_ENUM_TYPE_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The prefix for the name of enum types.
- OM_ENUM_TYPE_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The suffix for the name of enum types.
- OM_FILLER_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the prefix of the filler methods.
- OM_FILLER_REFERENCING_DISTICTION - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the part added to the referencing direction if naming conflicts occur.
- OM_FILLER_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the suffix of the filler methods.
- OM_FOREIGN_FIELD_INIT_TYPE - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the java type for the initial value of the foreign field (must not be an interface).
- OM_FOREIGN_FIELD_NAME_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option containing the prefix for the foreign field name of a foreign-key reference.
- OM_FOREIGN_FIELD_NAME_RELATED_BY - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the part between referenced table name and referencing column name (only used if the same local table is referenced several times) as used in the foreign field name.
- OM_FOREIGN_FIELD_NAME_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option containing the suffix for the foreign field name of a foreign-key reference.
- OM_FOREIGN_FIELD_TYPE - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the java type for the foreign field (can be an interface),
- OM_FOREIGN_KEY_GETTER_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option containing the prefix for the getter of the foreign key.
- OM_FOREIGN_KEY_GETTER_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option containing the suffix for the getter of the foreign key.
- OM_GENERATE_BEANS - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
Whether bean objects should be generated.
- OM_GENERATE_JOIN_GETTERS - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
Whether joinGetter methods are generated in the data object classes which fetch related objects in one database query.
- OM_GENERATE_MAP_INIT - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
Whether the map init classes which initialize all database maps at once should be generated.
- OM_INITIALIZER_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the prefix of the initializer methods.
- OM_INITIALIZER_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the suffix of the initializer methods.
- OM_IS_INITIALIZED_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the prefix of the initializer methods.
- OM_IS_INITIALIZED_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the suffix of the initializer methods.
- OM_JOIN_GETTER_SEPARATOR - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The separator in the joinGetter Methods between the two name parts.
- OM_JOIN_GETTER_VISIBILITY - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The visibility of the joinGetter methods.
- OM_LOCAL_FIELD_NAME_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option containing the prefix for the local field name of a foreign-key reference.
- OM_LOCAL_FIELD_NAME_RELATED_BY - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the part between referenced table name and referencing column name (only used if the same foreign table is referenced several times) as used in the local field name.
- OM_LOCAL_FIELD_NAME_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option containing the suffix for the local field name of a foreign-key reference.
- OM_MANAGER_CLASS_NAME_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The prefix of the name of the manager class.
- OM_MANAGER_CLASS_NAME_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The suffix of the name of the manager class.
- OM_OPTIMISTIC_LOCKING_DEFAULT_VALUE - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the default value used in optimistic locking if no explicit default value is set.
- OM_OPTIMISTIC_LOCKING_MODE - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the mode used in optimistic locking.
- OM_PACKAGE - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The base package of the OM classes.
- OM_RESETTER_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the prefix of the resetter methods.
- OM_RESETTER_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the suffix of the resetter methods.
- OM_RETAIN_SCHEMA_NAMES_IN_JAVA_NAME - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
Whether to retain schema names in java names.
- OM_SAVE_EXCEPTION - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the name of the exception thrown by the save methods.
- OM_SAVE_METHODS_IN_DB_OBJECTS - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option which controls whether save methods are generated in the db objects (true) or in the peers (false).
- OM_SET_AND_SAVE_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the prefix of the setAndSave methods.
- OM_SET_AND_SAVE_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The name of the option for the suffix of the setAndSave methods.
- OM_USE_IS_FOR_BOOLEAN_GETTERS - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
Whether getters for boolean fields should use "is" instead of "get" as prefix.
- OM_USE_MANAGERS - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
Whether manager classes should be used.
- 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
- ON_DELETE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute onDelete.
- ON_UPDATE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute onUpdate.
- 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.
- OTHER - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype OTHER.
P
- PACKAGE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
package relative or absolute, only inheritance type
- PACKAGE - Enum constant in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
Deprecated.
- 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.
- PEER_COLUMN_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The name of constant for the column name in the peer class.
- PEER_IMPL_CLASS_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the peer implementation class.
- PEER_IMPL_FIELD_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the field holding the peer implementation class.
- PEER_IMPL_GETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the getter for the peer implementation class.
- PEER_IMPL_SETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the setter for the peer implementation class.
- PEER_INTERFACE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute peerInterface.
- PEER_JOIN_ALL_EXCEPT_SELECT_METHOD - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
The name of the peer class method which joins all the other tables except the referenced table.
- PEER_JOIN_SELECT_METHOD - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
The name of the peer class method which joins the other table.
- 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.
- POSITION - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The column index, 1 based.
- PRIMARY_KEY - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute primaryKey.
- PRIMARY_KEY_COLUMN_NAMES - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains all primary key columns in a comma-separated String.
- PRIMARY_KEY_CONSTRAINT_NAME - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains the name of the constraint defining the primary key of a table.
- PRIMARY_KEYS - Enum constant in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
Contains all primary key columns of the table.
- 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.
- PRIMITIVE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaJavaType
-
The java attribute will be a primitive (e.g. int), if possible.
- PRIMITIVE_TYPE - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
Whether the column is a primitive column.
- 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
- PROPERTY_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The name of the javaBean property name (corresponding to getter/setter name).
- PROTECTED - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute protected.
Q
- QUALIFIED_COLUMN_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The fully qualified name of the column, i. e. prefixed with the database schema name if a schema name was given.
- 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 - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype REAL.
- 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.
- REF - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getRef Method.
- REF - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype REF.
- 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
- REFERENCE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element reference.
- ReferenceChildElementName - Enum Class in org.apache.torque.templates.transformer.om
-
Contains the child elements for a reference source element which are not defined in the Torque schema.
- REFERENCED_COLUMN - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnChildElementName
-
The element containing the column which is referenced by the parent column element in a foreign-key relation.
- referenceList - Variable in class org.apache.torque.templates.model.ForeignKey
-
The list of column references for this foreign key.
- REFERENCES_PRIMARY_KEY - Enum constant in enum class org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
-
The name of the attribute containing the information whether the foreign key references the primary key of the foreign table.
- REFERENCING_COLUMN - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnChildElementName
-
The element containing the column which references the parent column element in a foreign-key relation.
- REFERENCING_FOREIGN_KEYS - Enum constant in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
Contains all foreign keys referencing this table.
- required - Variable in class org.apache.torque.templates.model.Column
-
Whether this column is required to be not-null.
- REQUIRED - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute required.
- RESETTER_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
In case the field is a collection: The name of the method used to reset (null) the collection.
- RESULT_SET_GETTER - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
The getter to get the column from a result set.
- ResultSetGetter - Enum Class in org.apache.torque.templates.typemapping
-
All available result set getter methods.
- ROOT_DATABASE_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.DatabaseAttributeName
-
The name of the root database in case of an external schema, otherwise just the name of the database itself..
- rootDatabaseName - Variable in class org.apache.torque.templates.model.Database
-
The name of the root database.
S
- SAMPLE_OBJECT - Enum constant in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
An instance of the object for the type map.
- SAVE_METHOD_INPUT_TYPE - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The type which is passed to the save method, if any.
- SAVE_METHOD_TO_SAVE_VARIABLE - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The variable name in which the object to save is stored, if any.
- 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.
- SCALE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute scale.
- schemaNameList - Variable in class org.apache.torque.templates.model.Database
-
List of all schema names in the tables of the database.
- SchemaType - Enum Class 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.
- SEQUENCE_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The name of the sequence generated for the table's primary key.
- SEQUENCE_NAME - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains the name of the sequence from which the primary key of the table is generated.
- 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.
- SETTER_ACCESS_MODIFIER - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The access modifier (e.g.
- SETTER_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The method name of the getter for the field.
- SETTER_THROWS - Enum constant in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
The throws clause (excluding "throws " itself) for the setter method.
- 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.
- SHORT - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getShort Method.
- SHORT_OBJECT - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.Short.
- SHORT_PRIMITIVE - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
primitive short.
- SINGLE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaInheritance
-
This column determines the inheritance class of the table.
- 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.
- SIZE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute size.
- 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
- SKIP_SQL - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute skipSql
- 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 - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype SMALLINT.
- SMALLINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for SMALLINT columns.
- SQL_ENUM_CONSTRAINT_NAME_PREFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The prefix for the constraint name for enum types.
- SQL_ENUM_CONSTRAINT_NAME_SUFFIX - Enum constant in enum class org.apache.torque.templates.TemplateOptionName
-
The suffix for the constraint name for enum types.
- SQL_VALUE - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains the properly escaped and transformed sql value for the element.
- SqlAttributeName - Enum Class 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.
- STRING - Enum constant in enum class org.apache.torque.templates.typemapping.JavaType
-
java.lang.String.
- STRING - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getString Method.
- STRUCT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype STRUCT.
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
- TABLE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element table.
- TableAttributeName - Enum Class 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 Class 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 Class in org.apache.torque.templates
-
The option names which are used in the java code of the templates.
- TIME - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getTime Method.
- TIME - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype TIME.
- TIME_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for TIME columns.
- TIMESTAMP - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getTimestamp Method.
- TIMESTAMP - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype TIMESTAMP.
- TIMESTAMP_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for TIMESTAMP columns.
- TINYINT - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype TINYINT.
- TINYINT_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for TINYINT columns.
- TorqueSchemaAttributeName - Enum Class in org.apache.torque.templates
-
Contains all attribute names from the Torque schema.
- TorqueSchemaElementName - Enum Class in org.apache.torque.templates
-
Contains all element names from the Torque schema.
- TorqueSchemaIdMethod - Enum Class in org.apache.torque.templates
-
Holds all IdMethods known in the Torque schema
- TorqueSchemaInheritance - Enum Class in org.apache.torque.templates
-
The possible values of the inheritance attribute of the column element.
- TorqueSchemaJavaType - Enum Class 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 class org.apache.torque.templates.TemplateOptionName
- toString() - Method in enum class org.apache.torque.templates.TorqueSchemaAttributeName
- toString() - Method in enum class org.apache.torque.templates.TorqueSchemaElementName
- toString() - Method in enum class org.apache.torque.templates.TorqueSchemaIdMethod
- toString() - Method in enum class org.apache.torque.templates.TorqueSchemaInheritance
- toString() - Method in enum class org.apache.torque.templates.TorqueSchemaJavaType
- toString() - Method in enum class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.ColumnChildElementName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.DatabaseAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.DatabaseChildElementName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.EnumValueAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.ReferenceChildElementName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.TableAttributeName
- toString() - Method in enum class org.apache.torque.templates.transformer.om.TableChildElementName
- toString() - Method in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
- toString() - Method in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
Returns the method name.
- transform(Object, ControllerState) - Method in class org.apache.torque.templates.transformer.IncludeSchemaTransformer
-
Loads the included schema objects into the current source graph.
- 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(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(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
- 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(SourceElement, ControllerState, int) - Method in class org.apache.torque.templates.transformer.om.OMColumnTransformer
- transform(SourceElement, ControllerState, SourceElementName, SourceAttributeName, SourceElementName) - Method in class org.apache.torque.templates.transformer.CollectAttributeSetTrueTransformer
-
Processes the transformation.
- transform(Database, ControllerState) - Method in class org.apache.torque.templates.transformer.IncludeSchemaTransformer
-
Loads the included schema content into the current model.
- transform(Database, ControllerState) - Method in class org.apache.torque.templates.transformer.LoadExternalSchemaTransformer
-
Loads the external schemata tables into the current graph.
- 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
- transformTable(Table, Database, ControllerState) - Method in class org.apache.torque.templates.transformer.sql.SQLModelTransformer
- 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.
- TYPE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute type.
- TypeMap - Class in org.apache.torque.templates.typemapping
-
Various mappings for schema types, e.g. to their corresponding Java object types, and Java native types.
U
- UNICODE_STREAM - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getUnicodeStream Method.
- 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
- UNIQUE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element unique.
- UNIQUE_COLUMN - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element unique-column.
- UNIQUE_COLUMN_NAMES - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains all unique column names in a comma-separated String.
- UNIQUE_COLUMN_SIZES - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The attribute contains all unique column sizes in a comma-separated String.
- 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.
- UNQUALIFIED_NAME - Enum constant in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
The unqualified (without schema) table name.
- UNQUALIFIED_NAME - Enum constant in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
The unqualified (without schema) table name.
- unqualifiedName - Variable in class org.apache.torque.templates.model.Table
-
The unqualified part of the table name, omitting schema and database information.
- URL - Enum constant in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
getURL Method.
- USE_DATABASE_DEFAULT_VALUE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute useDatabaseDefaultValue.
- 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.
- VALUE - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute value.
- valueOf(String) - Static method in enum class org.apache.torque.templates.TemplateOptionName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.TorqueSchemaElementName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.TorqueSchemaIdMethod
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.TorqueSchemaInheritance
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.TorqueSchemaJavaType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.ColumnChildElementName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.DatabaseAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.DatabaseChildElementName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.EnumValueAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.ReferenceChildElementName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.typemapping.JavaType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.apache.torque.templates.typemapping.SchemaType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.apache.torque.templates.TemplateOptionName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.TorqueSchemaElementName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.TorqueSchemaIdMethod
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.TorqueSchemaInheritance
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.TorqueSchemaJavaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.jdbc2schema.Jdbc2SchemaOptionName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.ColumnAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.ColumnChildElementName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.DatabaseAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.DatabaseChildElementName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.EnumValueAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.ForeignKeyAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.ForeignKeyChildElementName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.InheritanceAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.JavaFieldAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.ReferenceChildElementName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.TableAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.om.TableChildElementName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.transformer.sql.SqlAttributeName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.typemapping.JavaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.typemapping.ResultSetGetter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.apache.torque.templates.typemapping.SchemaType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARBINARY - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype VARBINARY.
- VARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.templates.typemapping.TypeMap
-
A sample java object for VARBINARY columns.
- VARCHAR - Enum constant in enum class org.apache.torque.templates.typemapping.SchemaType
-
JDBC Datatype VARCHAR.
- 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.
- VERSION - Enum constant in enum class org.apache.torque.templates.TorqueSchemaAttributeName
-
attribute version
- 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
- VIEW - Enum constant in enum class org.apache.torque.templates.TorqueSchemaElementName
-
element 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.
All Classes and Interfaces|All Packages|Constant Field Values