From: Vance K. <va...@us...> - 2006-02-08 10:15:34
|
User: vancek Date: 06/02/08 02:15:28 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: removed TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_RESULT_TYPE and TAGGEDVALUE_PERSISTENCE_EMBEDDABLE_SUPERCLASS added STEREOTYPE_MAPPED_SUPERCLASS added STEREOTYPE_FINDER_RESULT_TYPE_FIRST and STEREOTYPE_FINDER_RESULT_TYPE_MAX Revision Changes Path 1.12 +18 -14 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/EJB3Profile.java Index: EJB3Profile.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/EJB3Profile.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- EJB3Profile.java 6 Feb 2006 04:33:46 -0000 1.11 +++ EJB3Profile.java 8 Feb 2006 10:15:28 -0000 1.12 @@ -25,6 +25,11 @@ public static final String STEREOTYPE_ENTITY = profile.get("ENTITY"); /** + * Specifies this class as a mapped/embeddable super class. + */ + public static final String STEREOTYPE_MAPPED_SUPERCLASS = profile.get("MAPPED_SUPERCLASS"); + + /** * Specifies the service bean stereotype. */ public static final String STEREOTYPE_SERVICE = profile.get("SERVICE"); @@ -116,6 +121,18 @@ */ public static final String STEREOTYPE_LOB = profile.get("LOB"); + /** + * The tagged value indicating the finder method parameter result type + * is assigned to be the first/index. + */ + public static final String STEREOTYPE_FINDER_RESULT_TYPE_FIRST = profile.get("RESULT_TYPE_FIRST"); + + /** + * The tagged value indicating the finder method parameter result type + * is assigned to be the max results to return. + */ + public static final String STEREOTYPE_FINDER_RESULT_TYPE_MAX = profile.get("RESULT_TYPE_MAX"); + /* ----------------- Tagged Values -------------------- */ /** @@ -159,13 +176,6 @@ public static final String TAGGEDVALUE_PERSISTENCE_TEMPORAL_TYPE = profile.get("TEMPORAL_TYPE"); /** - * The tagged value indicating the finder method parameter result type - * (First or Max). - */ - public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_RESULT_TYPE = - profile.get("ENTITY_FINDER_RESULT_TYPE"); - - /** * The tagged value indicating the entity table name. */ public static final String TAGGEDVALUE_PERSISTENCE_ENTITY_TABLE_NAME = profile.get("TABLE"); @@ -297,13 +307,6 @@ profile.get("ENTITY_DISCRIMINATOR_COLUMN_LENGTH"); /** - * The tagged value representing whether this entity is an - * embeddable superclass - */ - public static final String TAGGEDVALUE_PERSISTENCE_EMBEDDABLE_SUPERCLASS = - profile.get("ENTITY_EMBEDDABLE_SUPERCLASS"); - - /** * The tagged value representing the persistence context * unit name (EntityManager) */ @@ -409,4 +412,5 @@ */ public static final String TAGGEDVALUE_SERVICE_INTERCEPTOR_EXCLUDE_CLASS = profile.get("EXCLUDE_CLASS_INTERCEPTORS"); + } \ No newline at end of file |