From: Vance K. <va...@us...> - 2006-02-01 08:36:32
|
User: vancek Date: 06/02/01 00:36:25 Modified: andromda-ejb3/src/main/resources/templates/ejb3 Entity.vsl Log: fixed entity method declaration Revision Changes Path 1.13 +9 -16 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Entity.vsl Index: Entity.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Entity.vsl,v retrieving revision 1.12 retrieving revision 1.13 diff -u -w -r1.12 -r1.13 --- Entity.vsl 31 Jan 2006 15:15:58 -0000 1.12 +++ Entity.vsl 1 Feb 2006 08:36:25 -0000 1.13 @@ -99,7 +99,7 @@ #set ($operations = $entity.businessOperations) #if (!$operations.empty) - // ------------------ Methods -------------------- + // -------------- Entity Methods ----------------- #**##foreach ($operation in $operations) #* *##set ($signature = $operation.signature) @@ -108,17 +108,10 @@ /** $operation.getDocumentation(" * ") */ + $visibility #if ($operation.static)static#end $returnType $signature #* *##if ($operation.exceptionsPresent) - $visibility $returnType $signature throws $operation.exceptionList - { - // TODO put your implementation here. -#* *##if ($operation.returnTypePresent) - return $operation.returnType.javaNullString; #* *##end - } -#* *##else - $visibility $returnType $signature { // TODO put your implementation here. #* *##if ($operation.returnTypePresent) @@ -127,7 +120,7 @@ throw new java.lang.UnsupportedOperationException("${entity.fullyQualifiedName}.${operation.signature} Not implemented!"); #* *##end } -#* *##end + #**##end #end } \ No newline at end of file |