From ee27b1063183e8d30f368c786b032176ef292d6a Mon Sep 17 00:00:00 2001
From: Lukas Eder
Date: Fri, 1 Jun 2012 13:32:40 +0200
Subject: [PATCH] [#1462] Document missing GeneratorStrategy features, such as
getJavaClassImplements()
---
jOOQ-website/src/main/resources/manual.xml | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/jOOQ-website/src/main/resources/manual.xml b/jOOQ-website/src/main/resources/manual.xml
index ffb9256f23..b5d83aaeda 100644
--- a/jOOQ-website/src/main/resources/manual.xml
+++ b/jOOQ-website/src/main/resources/manual.xml
@@ -1764,7 +1764,7 @@ public void bind(BindContext context) throws DataAccessException;
camel case:
-/**
+
+
+ /**
+ * Override this method to define the base class for those artefacts that
+ * allow for custom base classes
+ */
+ @Override
+ public String getJavaClassExtends(Definition definition, Mode mode) {
+ return Object.class.getName();
+ }
+
+ /**
+ * Override this method to define the interfaces to be implemented by those
+ * artefacts that allow for custom interface implementation
+ */
+ @Override
+ public List getJavaClassImplements(Definition definition, Mode mode) {
+ return Arrays.asList(Serializable.class.getName(), Cloneable.class.getName());
+ }
+}]]>
jooq-meta configuration