## Uses of Class
org.apache.torque.templates.typemapping.JavaType

- Packages that use JavaType
  Package | Description
  --- | ---
  org.apache.torque.templates.transformer.om | Contains transformers and their helpers for the generation of OM classes.
  org.apache.torque.templates.typemapping | Contains transformers and their helpers for the generation of SQL files.

- - ### Uses of JavaType in org.apache.torque.templates.transformer.om

    Methods in org.apache.torque.templates.transformer.om that return JavaType
    Modifier and Type | Method and Description
    --- | ---
    `protected JavaType` | OMColumnJavaTransformer.`setFieldJavaType(SourceElement columnElement, SchemaType schemaType, String enumClassName)` Returns the java type of the field representing a database column.

    Methods in org.apache.torque.templates.transformer.om with parameters of type JavaType
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | OMColumnJavaTransformer.`getDefaultValueWithDefaultSet(JavaType javaType, String defaultValue, boolean useDatabaseDefaultValue, SourceElement columnElement)` Calculates the java default value of a column in case a default value is set.
    `protected String` | OMColumnJavaTransformer.`getDefaultValueWithoutDefaultSet(JavaType javaType)` Calculates the java default value of a column in case a default value is not set.
    `protected void` | OMColumnTransformer.`setDefaultValueAttribute(SourceElement columnElement, JavaType javaType, ControllerState controllerState)` Sets the defaultValue attribute of the column element if it is not already set.
    `protected void` | OMColumnJavaTransformer.`setEnumValueJavaValueAttribute(SourceElement enumValueElement, JavaType columnJavaType)`
    `protected void` | OMColumnTransformer.`setGetterNameAttribute(SourceElement columnElement, JavaType javaType, ControllerState controllerState)` Sets the getterName attribute of the column element if it is not already set.
    `protected void` | OMColumnTransformer.`setNumberTypeAttribute(SourceElement columnElement, JavaType javaType)` Sets the numberType attribute of the column element if it is not already set.
    `protected void` | OMColumnTransformer.`setPrimitiveTypeAttribute(SourceElement columnElement, JavaType javaType)` Sets the primitiveType attribute of the column element if it is not already set.

  - ### Uses of JavaType in org.apache.torque.templates.typemapping

    Methods in org.apache.torque.templates.typemapping that return JavaType
    Modifier and Type | Method and Description
    --- | ---
    `static JavaType` | TypeMap.`getJavaObjectType(SchemaType schemaType)` Returns the java type which corresponds to the schema type provided.
    `static JavaType` | TypeMap.`getJavaPrimitiveType(SchemaType schemaType)` Returns the java type which corresponds to the schema type provided.
    `static JavaType` | JavaType.`valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static JavaType[]` | JavaType.`values()` Returns an array containing the constants of this enum type, in the order they are declared.

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