Class ClassTools
java.lang.Object
ch.helvethink.odoo4java.generator.ClassTools
Some tools for the classes we want to generate
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetJavaType(String odooType) Mapping between odooType and Java typestatic StringSanitize class names, i.e. compliant with Java and Camel Cased
-
Method Details
-
sanitizeClassName
Sanitize class names, i.e. compliant with Java and Camel Cased- Parameters:
c- className- Returns:
- The class name sanitized
-
getJavaType
Mapping between odooType and Java type- Parameters:
odooType- The Odoo type for a field- Returns:
- The corresponding Java type
-