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 Description protected 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 JavaType Modifier and Type Method Description protected 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 JavaType Modifier and Type Method Description static 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 JavaTypeJavaType. 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.
-