X-Account-Key: account2
X-Mozilla-Keys: 
Return-Path: <topia-commits-bounces@lists.labs.libre-entreprise.org>
X-Original-To: thimel@bihar.codelutin.net
Delivered-To: thimel@bihar.codelutin.net
Received: from localhost (bihar.codelutin.com [79.98.16.206])
	by bihar.codelutin.net (Postfix) with ESMTP id 1EAF862777;
	Thu, 29 Jan 2009 12:22:41 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at bihar.codelutin.net
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-1002 required=6.31
	tests=[BAYES_00=-2.599]
Received: from bihar.codelutin.net ([79.98.16.206])
	by localhost (bihar.codelutin.net [79.98.16.206]) (amavisd-new, port 10024)
	with ESMTP id 5H04NezPeJAr; Thu, 29 Jan 2009 12:22:39 +0100 (CET)
Received: from labs.libre-entreprise.org (labs.libre-entreprise.org
 [212.85.154.93])
	by bihar.codelutin.net (Postfix) with ESMTP id 5C7AA623BA;
	Thu, 29 Jan 2009 12:22:39 +0100 (CET)
Received: from labs.libre-entreprise.org (labs.libre-entreprise.org
 [212.85.154.93])
	by labs.libre-entreprise.org (Postfix) with ESMTP id 01F3C461C5A;
	Thu, 29 Jan 2009 12:22:37 +0100 (CET)
X-Original-To: topia-commits@lists.labs.libre-entreprise.org
Delivered-To: topia-commits@lists.labs.libre-entreprise.org
Received: from localhost.localdomain (labs.libre-entreprise.org
	[212.85.154.93])
	by labs.libre-entreprise.org (Postfix) with ESMTP id 91AED461C5A
	for <topia-commits@lists.labs.libre-entreprise.org>;
	Thu, 29 Jan 2009 12:22:36 +0100 (CET)
To: topia-commits@lists.labs.libre-entreprise.org
From: chatellier@users.labs.libre-entreprise.org
Message-Id: <20090129112236.91AED461C5A@labs.libre-entreprise.org>
Date: Thu, 29 Jan 2009 12:22:36 +0100 (CET)
Subject: [Topia-commits] r1329 -
	topia/trunk/topia-soa/src/main/java/org/codelutin/topia/generator
X-BeenThere: topia-commits@lists.labs.libre-entreprise.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <topia-commits.lists.labs.libre-entreprise.org>
List-Unsubscribe:
 <https://lists.labs.libre-entreprise.org/mailman/listinfo/topia-commits>,	
 =?utf-8?q?=3Cmailto=3Atopia-commits-request=40lists=2Elabs=2Elibre-entrepri?=
 =?utf-8?q?se=2Eorg=3Fsubject=3Dunsubscribe=3E?=
List-Archive: <http://lists.labs.libre-entreprise.org/pipermail/topia-commits>
List-Post: <mailto:topia-commits@lists.labs.libre-entreprise.org>
List-Help:
 <mailto:topia-commits-request@lists.labs.libre-entreprise.org?subject=help>
List-Subscribe:
 <https://lists.labs.libre-entreprise.org/mailman/listinfo/topia-commits>,	
 =?utf-8?q?=3Cmailto=3Atopia-commits-request=40lists=2Elabs=2Elibre-entrepri?=
 =?utf-8?q?se=2Eorg=3Fsubject=3Dsubscribe=3E?=
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: topia-commits-bounces@lists.labs.libre-entreprise.org
Errors-To: topia-commits-bounces@lists.labs.libre-entreprise.org

Author: chatellier
Date: 2009-01-29 11:22:36 +0000 (Thu, 29 Jan 2009)
New Revision: 1329

Modified:
   topia/trunk/topia-soa/src/main/java/org/codelutin/topia/generator/Servic=
eInterfaceGenerator.java
Log:
Correction de la doc

Modified: topia/trunk/topia-soa/src/main/java/org/codelutin/topia/generator=
/ServiceInterfaceGenerator.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- topia/trunk/topia-soa/src/main/java/org/codelutin/topia/generator/Servi=
ceInterfaceGenerator.java	2009-01-29 11:18:00 UTC (rev 1328)
+++ topia/trunk/topia-soa/src/main/java/org/codelutin/topia/generator/Servi=
ceInterfaceGenerator.java	2009-01-29 11:22:36 UTC (rev 1329)
@@ -128,7 +128,7 @@
     	}
 /*{    }; }*/
 /*{		 =

-   } //<%=3Dinterfacez.getName()%>
+} //<%=3Dinterfacez.getName()%>
 }*/
     }
 =

@@ -181,7 +181,7 @@
     private void generateMethodsGetter(Writer output, ObjectModelClassifie=
r classifier) throws IOException {
 /*{    public abstract String[] getMethods();
 =

-	// =3D=3D=3D=3D=3D> methodes utilisant celles des entites <=3D=3D=3D=3D
+	// methodes utilisant celles des entites
 }*/ 	=

     }
     =

@@ -193,7 +193,7 @@
             String method =3D op.getReturnType()+ " "+op.getName()+"(";
 /*{
     /** =

-     * Methode metier
+     * Methode <%=3Dop.getName()%>.
 }*/
             if (GeneratorUtil.hasDocumentation(op)) {
 /*{     * <%=3Dop.getName()%> : <%=3Dop.getDocumentation()%>
@@ -201,15 +201,19 @@
             }
             Collection<ObjectModelParameter> params =3D (Collection<Object=
ModelParameter>)op.getParameters();
             for(ObjectModelParameter param : params) {
-                if(log.isTraceEnabled()) {log.trace("Param" + param);}
+                if(log.isTraceEnabled()) {
+                    log.trace("Param" + param);
+                }
+                if (GeneratorUtil.hasDocumentation(param)) {
 /*{     * @param <%=3Dparam.getName()%> <%=3Dparam.getDocumentation()%>
-}*/ =

+}*/
+                }
             }
 /*{     *)
     <%=3Dop.getVisibility()%> <%=3Dop.getReturnType()%> <%=3Dop.getName()%=
>(}*/
             String vir =3D "";
             for(ObjectModelParameter param : params){
-                method +=3D " " + param.getType()+" "+param.getName();
+                method +=3D vir + param.getType()+" "+param.getName();
                 if(log.isTraceEnabled()) {log.trace("Param" + param + " vi=
r" + vir);}
 /*{<%=3Dvir%><%=3Dparam.getType()%> <%=3Dparam.getName()%>}*/
                 vir =3D ", ";
@@ -232,7 +236,7 @@
     =

     private void generateInheritedInterfaceOperations(Writer output, Objec=
tModelClassifier classifier) throws IOException {
 /*{
-	// =3D=3D=3D=3D=3D> methodes utilisant celles des daos <=3D=3D=3D=3D =

+	// methodes utilisant celles des daos
 }*/    	=

         for (Iterator i=3Dclassifier.getInterfaces().iterator(); i.hasNext=
();) {
             ObjectModelClassifier parent =3D (ObjectModelClassifier)i.next=
();
@@ -648,7 +652,7 @@
             String vir =3D "";
             for(ObjectModelParameter param : params){
                 if(log.isTraceEnabled()) {log.trace("Param" + param + " vi=
r" + vir);}
-                method +=3D " " + param.getType()+" "+param.getName();
+                method +=3D vir + param.getType()+" "+param.getName();
 /*{<%=3Dvir%><%=3Dparam.getType()%> <%=3Dparam.getName()%>}*/
                 vir =3D ", ";
             }

_______________________________________________
Topia-commits mailing list
Topia-commits@lists.labs.libre-entreprise.org
https://lists.labs.libre-entreprise.org/mailman/listinfo/topia-commits

