Uses of Class
org.apache.openjpa.lib.util.CodeFormat
Packages that use CodeFormat
Package
Description
OpenJPA Enhancer
OpenJPA-JDBC ORM Metadata
General Utilities
-
Uses of CodeFormat in org.apache.openjpa.enhance
Fields in org.apache.openjpa.enhance declared as CodeFormatMethods in org.apache.openjpa.enhance that return CodeFormatModifier and TypeMethodDescriptionApplicationIdTool.getCodeFormat()
The code formatter for the generated Java code.CodeGenerator.getCodeFormat()
The code formatter for the generated Java code.protected CodeFormat
CodeGenerator.newCodeFormat()
Return a copy of the internal code format.Methods in org.apache.openjpa.enhance with parameters of type CodeFormatModifier and TypeMethodDescriptionprotected void
CodeGenerator.closeClassBrace
(CodeFormat code) Append the closing code-level brace to the code; this can be overridden to add code to the bottom of the class.protected void
CodeGenerator.openClassBrace
(CodeFormat code) Append the opening code-level brace to the code; this can be overridden to add code to the top of the class.void
ApplicationIdTool.setCodeFormat
(CodeFormat format) Set the code formatter for the generated Java code.void
CodeGenerator.setCodeFormat
(CodeFormat format) Set the code formatter for the generated Java code. -
Uses of CodeFormat in org.apache.openjpa.jdbc.meta
Fields in org.apache.openjpa.jdbc.meta declared as CodeFormatMethods in org.apache.openjpa.jdbc.meta that return CodeFormatModifier and TypeMethodDescriptionReverseMappingTool.getCodeFormat()
The code formatter for the generated Java code.Methods in org.apache.openjpa.jdbc.meta with parameters of type CodeFormatModifier and TypeMethodDescriptionvoid
ReverseMappingTool.setCodeFormat
(CodeFormat format) Set the code formatter for the generated Java code. -
Uses of CodeFormat in org.apache.openjpa.lib.util
Methods in org.apache.openjpa.lib.util that return CodeFormatModifier and TypeMethodDescriptionCodeFormat.afterSection()
Append the given value to the internal buffer.CodeFormat.append
(boolean val) Append the given value to the internal buffer.CodeFormat.append
(byte val) Append the given value to the internal buffer.CodeFormat.append
(char val) Append the given value to the internal buffer.CodeFormat.append
(double val) Append the given value to the internal buffer.CodeFormat.append
(float val) Append the given value to the internal buffer.CodeFormat.append
(int val) Append the given value to the internal buffer.CodeFormat.append
(long val) Append the given value to the internal buffer.CodeFormat.append
(short val) Append the given value to the internal buffer.Append the given value to the internal buffer.CodeFormat.closeBrace
(int tabLevel) Append the given value to the internal buffer.CodeFormat.closeParen()
Append the given value to the internal buffer.CodeFormat.endl()
Append the given value to the internal buffer.CodeFormat.endl
(int num) Append the given value to the internal buffer.CodeFormat.endl
(int num, int tabs) Append the given value to the internal buffer.CodeFormat.extendsDec
(int tabLevel) Append the given value to the internal buffer.Append the given value to the internal buffer.CodeFormat.implementsDec
(int tabLevel) Append the given value to the internal buffer.CodeFormat.openBrace
(int tabLevel) Append the given value to the internal buffer.CodeFormat.openParen
(boolean methodOrIf) Append the given value to the internal buffer.CodeFormat.parens()
Append the given value to the internal buffer.CodeFormat.tab()
Append the given value to the internal buffer.CodeFormat.tab
(int tabLevel) Append the given value to the internal buffer.CodeFormat.throwsDec
(int tabLevel) Append the given value to the internal buffer.