# Verwendungen von Enum
org.apache.torque.templates.typemapping.JavaType

Packages, die JavaType verwenden
Package
Beschreibung
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.

- ## Verwendungen von JavaType in org.apache.torque.templates.transformer.om

  Methoden in org.apache.torque.templates.transformer.om, die JavaType zurückgeben
  Modifizierer und Typ
  Methode
  Beschreibung
  `protected JavaType`
  OMColumnJavaTransformer.`setFieldJavaType(SourceElement columnElement, SchemaType schemaType, String enumClassName)`
  Returns the java type of the field representing a database column.
  Methoden in org.apache.torque.templates.transformer.om mit Parametern vom Typ JavaType
  Modifizierer und Typ
  Methode
  Beschreibung
  `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.

- ## Verwendungen von JavaType in org.apache.torque.templates.typemapping

  Methoden in org.apache.torque.templates.typemapping, die JavaType zurückgeben
  Modifizierer und Typ
  Methode
  Beschreibung
  `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)`
  Gibt die Enumerationskonstante dieses Typs mit dem angegebenen Namen zurück.
  `static JavaType[]`
  JavaType.`values()`
  Gibt ein Array mit den Konstanten dieses Enum-Typs in der Reihenfolge ihrer Deklaration zurück.