From: Vance K. <va...@us...> - 2006-02-06 02:46:43
|
User: vancek Date: 06/02/05 18:46:38 Modified: andromda-ejb3/src/main/resources/templates/ejb3 Entity.vsl Log: removed accessType for @MappedSuperclass (formerly EmbeddableSuperclass) annotation, renamed @EntityListener to @EntityListeners, added @Transient annotation to entity methods Revision Changes Path 1.14 +4 -5 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.13 retrieving revision 1.14 diff -u -w -r1.13 -r1.14 --- Entity.vsl 1 Feb 2006 08:36:25 -0000 1.13 +++ Entity.vsl 6 Feb 2006 02:46:38 -0000 1.14 @@ -16,12 +16,10 @@ * */ - -...@ja...rsistence.Entity#if ($entity.accessType)(access = javax.persistence.AccessType.${entity.accessType})#end - +...@ja...rsistence.Entity @javax.persistence.Table(name = "${entity.tableName}") #if ($entity.listenerEnabled) -...@ja...rsistence.EntityListener(${entity.fullyQualifiedEntityListenerName}.class) +...@ja...rsistence.EntityListeners({${entity.fullyQualifiedEntityListenerName}.class}) #end public#if ($entity.abstract) abstract#end class ${entity.entityName} extends ${entity.fullyQualifiedEntityEmbeddableName} @@ -108,6 +106,7 @@ /** $operation.getDocumentation(" * ") */ + @javax.persistence.Transient $visibility #if ($operation.static)static#end $returnType $signature #* *##if ($operation.exceptionsPresent) throws $operation.exceptionList |