Uses of Enum Class
org.apache.torque.templates.typemapping.JavaType
Packages that use JavaType
Package
Description
Contains transformers and their helpers for the generation of OM classes.
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 JavaTypeModifier and TypeMethodDescriptionprotected JavaTypeOMColumnJavaTransformer.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 JavaTypeModifier and TypeMethodDescriptionprotected StringOMColumnJavaTransformer.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 StringOMColumnJavaTransformer.getDefaultValueWithoutDefaultSet(JavaType javaType) Calculates the java default value of a column in case a default value is not set.protected voidOMColumnTransformer.setDefaultValueAttribute(SourceElement columnElement, JavaType javaType, ControllerState controllerState) Sets the defaultValue attribute of the column element if it is not already set.protected voidOMColumnJavaTransformer.setEnumValueJavaValueAttribute(SourceElement enumValueElement, JavaType columnJavaType) protected voidOMColumnTransformer.setGetterNameAttribute(SourceElement columnElement, JavaType javaType, ControllerState controllerState) Sets the getterName attribute of the column element if it is not already set.protected voidOMColumnTransformer.setNumberTypeAttribute(SourceElement columnElement, JavaType javaType) Sets the numberType attribute of the column element if it is not already set.protected voidOMColumnTransformer.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 JavaTypeModifier and TypeMethodDescriptionstatic JavaTypeTypeMap.getJavaObjectType(SchemaType schemaType) Returns the java type which corresponds to the schema type provided.static JavaTypeTypeMap.getJavaPrimitiveType(SchemaType schemaType) Returns the java type which corresponds to the schema type provided.static JavaTypeReturns the enum constant of this class with the specified name.static JavaType[]JavaType.values()Returns an array containing the constants of this enum class, in the order they are declared.