From: Vance K. <va...@us...> - 2006-01-03 01:32:20
|
User: vancek Date: 06/01/02 17:32:12 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: added new persistence context, session bean and security tagged values Revision Changes Path 1.2 +165 -37 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.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- EJB3Profile.java 28 Dec 2005 00:32:56 -0000 1.1 +++ EJB3Profile.java 3 Jan 2006 01:32:12 -0000 1.2 @@ -18,8 +18,21 @@ private static final Profile profile = Profile.instance(); /* ----------------- Stereotypes -------------------- */ + + /** + * Specifies the create method stereotype - used in entity POJO + * and session bean. + */ public static final String STEREOTYPE_CREATE_METHOD = "CreateMethod"; + + /** + * Specifies the select method stereotype - used in EJB2.x + */ public static final String STEREOTYPE_SELECT_METHOD = "SelectMethod"; + + /** + * Specifies the environment entry stereotype - used in EJB2.x + */ public static final String STEREOTYPE_ENV_ENTRY = "EnvEntry"; /** @@ -37,29 +50,129 @@ */ public static final String STEREOTYPE_VALUE_REF = "ValueRef"; + /** + * Represents a persistence context instance referenced from a session bean. + */ + public static final String STEREOTYPE_PERSISTENCE_CONTEXT = profile.get("PERSISTENCE_CONTEXT"); + /* ----------------- Tagged Values -------------------- */ + + /** + * + */ public static final String TAGGEDVALUE_GENERATE_CMR = "@andromda.ejb.generateCMR"; + + /** + * The tagged value indicating the EJB query. + */ public static final String TAGGEDVALUE_EJB_QUERY = "@andromda.ejb.query"; + + /** + * The tagged value indicating the view type for the class or operation. + */ public static final String TAGGEDVALUE_EJB_VIEWTYPE = "@andromda.ejb.viewType"; + + /** + * The tagged value indicating the transaction property. + */ public static final String TAGGEDVALUE_EJB_TRANSACTION_TYPE = "@andromda.ejb.transaction.type"; + + /** + * + */ public static final String TAGGEDVALUE_EJB_NO_SYNTHETIC_CREATE_METHOD = "@andromda.ejb.noSyntheticCreateMethod"; - public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_TEMPORAL_TYPE = "@andromda.persistence.finder.temporal.type"; - public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_RESULT_TYPE = "@andromda.persistence.finder.result.type"; + /** + * The tagged value indicating the finder temporal type. + */ + public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_TEMPORAL_TYPE = + "@andromda.persistence.finder.temporal.type"; + + /** + * The tagged value indicating the finder result type (First or Max). + */ + public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_RESULT_TYPE = + "@andromda.persistence.finder.result.type"; + + /** + * The tagged value indicating the entity table name. + */ public static final String TAGGEDVALUE_PERSISTENCE_ENTITY_TABLE_NAME = "@andromda.persistence.entity.table.name"; + + /** + * The tagged value indicating the fetch type. + */ public static final String TAGGEDVALUE_PERSISTENCE_FETCH_TYPE = "@andromda.persistence.fetch.type"; + + /** + * The tagged value indicating the LOB type. + */ public static final String TAGGEDVALUE_PERSISTENCE_LOB_TYPE = "@andromda.persistence.lob.type"; + + /** + * The tagged value indicating the cascade type. + */ public static final String TAGGEDVALUE_PERSISTENCE_CASCADE_TYPE = "@andromda.persistence.cascade.type"; + + /** + * The tagged value indicating the generator type. + */ public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_TYPE = "@andromda.persistence.generator.type"; + + /** + * The tagged value indicating the generator name. + */ public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_NAME = "@andromda.persistence.generator.name"; - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_SOURCE_NAME = "@andromda.persistence.generator.source.name"; - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_PKCOLUMN_VALUE = "@andromda.persistence.generator.pkcolumn.value"; - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_INITIAL_VALUE = "@andromda.persistence.generator.initial.value"; - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_ALLOCATION_SIZE = "@andromda.persistence.generator.allocation.size"; - public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_DEFINITION = "@andromda.persistence.column.definition"; + + /** + * The tagged value indicating the generator source name + */ + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_SOURCE_NAME = + "@andromda.persistence.generator.source.name"; + + /** + * The tagged value indicating the primary key column value for the generator. + */ + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_PKCOLUMN_VALUE = + "@andromda.persistence.generator.pkcolumn.value"; + + /** + * The tagged value indicating the initial value for the generator. + */ + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_INITIAL_VALUE = + "@andromda.persistence.generator.initial.value"; + + /** + * The tagged value indicating the step size for the generator. + */ + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_ALLOCATION_SIZE = + "@andromda.persistence.generator.allocation.size"; + + /** + * The tagged value indicating the SQL definition for a column. + */ + public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_DEFINITION = + "@andromda.persistence.column.definition"; + + /** + * The tagged value for the precision in a float/double column. + */ public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_PRECISION = "@andromda.persistence.column.precision"; + + /** + * The tagged value for the scale in a float/double column. + */ public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_SCALE = "@andromda.persistence.column.scale"; + + /** + * The tagged value to represent a column that is nullable. + */ public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_NULLABLE = "@andromda.persistence.column.nullable"; + + /** + * The tagged value that indicates the order by logic on the Many side of the + * One-to-Many and Many-to-Many relationships. + */ public static final String TAGGEDVALUE_PERSISTENCE_ORDERBY = "@andromda.persistence.orderBy"; /** @@ -89,22 +202,26 @@ /** * The tagged value indicating that the row is an entity of the annotated entity type. */ - public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_VALUE = profile.get("ENTITY_DISCRIMINATOR_VALUE"); + public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_VALUE = + profile.get("ENTITY_DISCRIMINATOR_VALUE"); /** * The tagged value indicating the name of the column used for the discriminator */ - public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_COLUMN = profile.get("ENTITY_DISCRIMINATOR_COLUMN"); + public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_COLUMN = + profile.get("ENTITY_DISCRIMINATOR_COLUMN"); /** * The tagged value representing the SQL used in generation of DDL for the discriminator column */ - public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_COLUMN_DEFINITION = profile.get("ENTITY_DISCRIMINATOR_COLUMN_DEFINITION"); + public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_COLUMN_DEFINITION = + profile.get("ENTITY_DISCRIMINATOR_COLUMN_DEFINITION"); /** * The tagged value representing the column length for the String discriminator column type. */ - public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_COLUMN_LENGTH = profile.get("ENTITY_DISCRIMINATOR_COLUMN_LENGTH"); + public static final String TAGGEDVALUE_PERSISTENCE_DISCRIMINATOR_COLUMN_LENGTH = + profile.get("ENTITY_DISCRIMINATOR_COLUMN_LENGTH"); /** * The tagged value representing the access type for the entity class @@ -114,30 +231,41 @@ /** * The tagged value representing whether this entity is an embeddable superclass */ - public static final String TAGGEDVALUE_PERSISTENCE_EMBEDDABLE_SUPERCLASS = profile.get("ENTITY_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) + */ + public static final String TAGGEDVALUE_EJB_PERSISTENCE_CONTEXT_UNIT_NAME = + profile.get("SERVICE_PERSISTENCE_CONTEXT_UNIT_NAME"); + + /** + * The tagged value representing the persistence context transaction/extended type + */ + public static final String TAGGEDVALUE_EJB_PERSISTENCE_CONTEXT_TYPE = + profile.get("SERVICE_PERSISTENCE_CONTEXT_TYPE"); - /* ------------------- Fetch Types ------------------------*/ - public static final String FETCHTYPE_EAGER = "EAGER"; - public static final String FETCHTYPE_LAZY = "LAZY"; - - /* --------------------- Lob Types ------------------------*/ - public static final String LOBTYPE_CLOB = "CLOB"; - public static final String LOBTYPE_BLOB = "BLOB"; - - /* ---------------- Generator Types -----------------------*/ - public static final String GENERATORTYPE_TABLE = "TABLE"; - public static final String GENERATORTYPE_SEQUENCE = "SEQUENCE"; - public static final String GENERATORTYPE_IDENTITY = "IDENTITY"; - public static final String GENERATORTYPE_AUTO = "AUTO"; - public static final String GENERATORTYPE_NONE = "NONE"; - - /* ---------------- Temporal Types ------------------------*/ - public static final String TEMPORALTYPE_DATE = "DATE"; - public static final String TEMPORALTYPE_TIME = "TIME"; - public static final String TEMPORALTYPE_TIMESTAMP = "TIMESTAMP"; - public static final String TEMPORALTYPE_NONE = "NONE"; - - /* ------------ Finder Method Result Types ----------------*/ - public static final String FINDER_RESULTTYPE_FIRST = "First"; - public static final String FINDER_RESULTTYPE_MAX = "Max"; + /** + * The tagged value representing the session EJB type (Stateless or Stateful) + */ + public static final String TAGGEDVALUE_EJB_SESSION_TYPE = profile.get("SERVICE_TYPE"); + + /** + * The tagged value representing the comma separated list of security roles + * permitted to execute operations in a session bean. + */ + public static final String TAGGEDVALUE_EJB_SECURITY_ROLES_ALLOWED = profile.get("SECURITY_ROLES_ALLOWED"); + + /** + * The tagged value representing whether to permit all roles to execute + * operations in a session bean. + */ + public static final String TAGGEDVALUE_EJB_SECURITY_PERMIT_ALL = profile.get("SECURITY_PERMIT_ALL"); + + /** + * The tagged value representing the security domain to sepecify at + * the session bean class level. + */ + public static final String TAGGEDVALUE_EJB_SECURITY_DOMAIN = profile.get("SECURITY_DOMAIN"); } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-01-17 04:10:23
|
User: vancek Date: 06/01/16 20:10:17 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: added interceptor and security run as stereotypes, removed security roles allowed tagged value, renamed security domain tagged value Revision Changes Path 1.4 +24 -13 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.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- EJB3Profile.java 6 Jan 2006 13:54:28 -0000 1.3 +++ EJB3Profile.java 17 Jan 2006 04:10:17 -0000 1.4 @@ -90,6 +90,17 @@ */ public static final String STEREOTYPE_DATA_SOURCE = profile.get("DATA_SOURCE"); + /** + * Represents an interceptor class for a session bean. + */ + public static final String STEREOTYPE_INTERCEPTOR = profile.get("INTERCEPTOR"); + + /** + * Represents a dependency from an actor that is identified to + * apply a run-as identity to the bean when making calls. + */ + public static final String STEREOTYPE_SECURITY_RUNAS = profile.get("SECURITY_RUN_AS"); + /* ----------------- Tagged Values -------------------- */ /** @@ -310,12 +321,6 @@ public static final String TAGGEDVALUE_EJB_SESSION_TYPE = profile.get("SERVICE_TYPE"); /** - * The tagged value representing the comma separated list of security roles - * permitted to execute operations in the bean. - */ - public static final String TAGGEDVALUE_EJB_SECURITY_ROLES_ALLOWED = profile.get("SECURITY_ROLES_ALLOWED"); - - /** * The tagged value representing whether to permit all roles to execute * operations in the bean. */ @@ -331,13 +336,7 @@ * The tagged value representing the security domain to sepecify at * the session bean class level. */ - public static final String TAGGEDVALUE_EJB_SECURITY_DOMAIN = profile.get("SECURITY_DOMAIN"); - - /** - * The tagged value representing the run-as identity the bean will - * use when making calls. - */ - public static final String TAGGEDVALUE_EJB_SECURITY_RUN_AS = profile.get("SECURITY_RUN_AS"); + public static final String TAGGEDVALUE_EJB_SECURITY_REALM = profile.get("SECURITY_REALM"); /** * The tagged value representing the JMS message driven bean @@ -368,4 +367,16 @@ * topic subscription durability mode. */ public static final String TAGGEDVALUE_EJB_MDB_DURABILITY = profile.get("MDB_SUBSCRIPTION_DURABILITY"); + + /** + * The tagged value representing the session bean remote interface + * JNDI name. + */ + public static final String TAGGEDVALUE_EJB_SESSION_JNDI_NAME_REMOTE = profile.get("SERVICE_JNDI_NAME_REMOTE"); + + /** + * The tagged value representing the session bean local interface + * JNDI name. + */ + public static final String TAGGEDVALUE_EJB_SESSION_JNDI_NAME_Local = profile.get("SERVICE_JNDI_NAME_LOCAL"); } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-01-18 09:15:28
|
User: vancek Date: 06/01/18 01:15:22 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: moved profile definitions for tagged values to profile.xml Revision Changes Path 1.5 +37 -30 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.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- EJB3Profile.java 17 Jan 2006 04:10:17 -0000 1.4 +++ EJB3Profile.java 18 Jan 2006 09:15:21 -0000 1.5 @@ -38,15 +38,17 @@ * Specifies the create method stereotype - used in entity POJO * and session bean. */ - public static final String STEREOTYPE_CREATE_METHOD = "CreateMethod"; + public static final String STEREOTYPE_CREATE_METHOD = profile.get("CREATE_METHOD"); /** * Specifies the select method stereotype - used in EJB2.x + * This may be deprecated in future releases. */ public static final String STEREOTYPE_SELECT_METHOD = "SelectMethod"; /** * Specifies the environment entry stereotype - used in EJB2.x + * This may be deprecated in future releases. */ public static final String STEREOTYPE_ENV_ENTRY = "EnvEntry"; @@ -61,9 +63,10 @@ public static final String STEREOTYPE_TRANSIENT = profile.get("TRANSIENT"); /** - * Represents a reference to a value object. + * Represents a reference to a value object - used in EJB2.x + * This may be deprecated in furture releases. */ - public static final String STEREOTYPE_VALUE_REF = "ValueRef"; + public static final String STEREOTYPE_VALUE_REF = profile.get("VALUE_REF"); /** * Represents a persistence context instance referenced from a session bean. @@ -111,28 +114,29 @@ /** * The tagged value indicating the EJB query. */ - public static final String TAGGEDVALUE_EJB_QUERY = "@andromda.ejb.query"; + public static final String TAGGEDVALUE_EJB_QUERY = profile.get("QUERY"); /** * The tagged value indicating the view type for the * class or operation. */ - public static final String TAGGEDVALUE_EJB_VIEWTYPE = "@andromda.ejb.viewType"; + public static final String TAGGEDVALUE_EJB_VIEWTYPE = profile.get("VIEW_TYPE"); /** * The tagged value indicating the transaction property. */ - public static final String TAGGEDVALUE_EJB_TRANSACTION_TYPE = "@andromda.ejb.transaction.type"; + public static final String TAGGEDVALUE_EJB_TRANSACTION_TYPE = profile.get("TRANSACTION_TYPE"); /** * The tagged value indicating the transaction demarcation * strategy. This only applies at the class level of a * session bean. */ - public static final String TAGGEDVALUE_EJB_TRANSACTION_MANAGEMENT = "@andromda.ejb.transaction.management"; + public static final String TAGGEDVALUE_EJB_TRANSACTION_MANAGEMENT = profile.get("SERVICE_TRANSACTION_MANAGEMENT"); /** - * + * Used in EJB2.x + * May be deprecated in future releases. */ public static final String TAGGEDVALUE_EJB_NO_SYNTHETIC_CREATE_METHOD = "@andromda.ejb.noSyntheticCreateMethod"; @@ -140,95 +144,92 @@ * The tagged value indicating the finder temporal type. */ public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_TEMPORAL_TYPE = - "@andromda.persistence.finder.temporal.type"; + profile.get("ENTITY_FINDER_TEMPORAL_TYPE"); /** - * The tagged value indicating the finder result type + * The tagged value indicating the finder method parameter result type * (First or Max). */ public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_RESULT_TYPE = - "@andromda.persistence.finder.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 = "@andromda.persistence.entity.table.name"; + public static final String TAGGEDVALUE_PERSISTENCE_ENTITY_TABLE_NAME = profile.get("TABLE"); /** * The tagged value indicating the fetch type. */ - public static final String TAGGEDVALUE_PERSISTENCE_FETCH_TYPE = "@andromda.persistence.fetch.type"; + public static final String TAGGEDVALUE_PERSISTENCE_FETCH_TYPE = profile.get("FETCH_TYPE"); /** * The tagged value indicating the LOB type. */ - public static final String TAGGEDVALUE_PERSISTENCE_LOB_TYPE = "@andromda.persistence.lob.type"; + public static final String TAGGEDVALUE_PERSISTENCE_LOB_TYPE = profile.get("LOB_TYPE"); /** * The tagged value indicating the cascade type. */ - public static final String TAGGEDVALUE_PERSISTENCE_CASCADE_TYPE = "@andromda.persistence.cascade.type"; + public static final String TAGGEDVALUE_PERSISTENCE_CASCADE_TYPE = profile.get("CASCADE_TYPE"); /** * The tagged value indicating the generator type. */ - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_TYPE = "@andromda.persistence.generator.type"; + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_TYPE = profile.get("GENERATOR_TYPE"); /** * The tagged value indicating the generator name. */ - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_NAME = "@andromda.persistence.generator.name"; + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_NAME = profile.get("GENERATOR_NAME"); /** - * The tagged value indicating the generator source name + * The tagged value indicating the generator source name. */ - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_SOURCE_NAME = - "@andromda.persistence.generator.source.name"; + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_SOURCE_NAME = profile.get("GENERATOR_SOURCE_NAME"); /** * The tagged value indicating the primary key column value for the generator. */ public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_PKCOLUMN_VALUE = - "@andromda.persistence.generator.pkcolumn.value"; + profile.get("GENERATOR_PK_COLUMN_VALUE"); /** * The tagged value indicating the initial value for the generator. */ - public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_INITIAL_VALUE = - "@andromda.persistence.generator.initial.value"; + public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_INITIAL_VALUE = profile.get("GENERATOR_INITIAL_VALUE"); /** * The tagged value indicating the step size for the generator. */ public static final String TAGGEDVALUE_PERSISTENCE_GENERATOR_ALLOCATION_SIZE = - "@andromda.persistence.generator.allocation.size"; + profile.get("GENERATOR_ALLOCATION_SIZE"); /** * The tagged value indicating the SQL definition for a column. */ - public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_DEFINITION = - "@andromda.persistence.column.definition"; + public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_DEFINITION = profile.get("COLUMN_DEFINITION"); /** * The tagged value for the precision in a float/double column. */ - public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_PRECISION = "@andromda.persistence.column.precision"; + public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_PRECISION = profile.get("COLUMN_PRECISION"); /** * The tagged value for the scale in a float/double column. */ - public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_SCALE = "@andromda.persistence.column.scale"; + public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_SCALE = profile.get("COLUMN_SCALE"); /** * The tagged value to represent a column that is nullable. */ - public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_NULLABLE = "@andromda.persistence.column.nullable"; + public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_NULLABLE = profile.get("COLUMN_NULLABLE"); /** * The tagged value that indicates the order by logic on the * Many side of the One-to-Many and Many-to-Many relationships. */ - public static final String TAGGEDVALUE_PERSISTENCE_ORDERBY = "@andromda.persistence.orderBy"; + public static final String TAGGEDVALUE_PERSISTENCE_ORDERBY = profile.get("ORDER_BY"); /** * The tagged value indicating the underlying relationship may @@ -379,4 +380,10 @@ * JNDI name. */ public static final String TAGGEDVALUE_EJB_SESSION_JNDI_NAME_Local = profile.get("SERVICE_JNDI_NAME_LOCAL"); + + /** + * The tagged value indicating the session bean operation as a + * Timer Service timeout callback method. + */ + public static final String TAGGEDVALUE_SERVICE_TIMER_TIMEOUT = profile.get("SERVICE_TIMER_TIMEOUT"); } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-01-22 06:23:38
|
User: vancek Date: 06/01/21 22:23:33 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: moved STEREOTYPE_ENV_ENTRY value to profile Revision Changes Path 1.6 +3 -3 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.5 retrieving revision 1.6 diff -u -w -r1.5 -r1.6 --- EJB3Profile.java 18 Jan 2006 09:15:21 -0000 1.5 +++ EJB3Profile.java 22 Jan 2006 06:23:33 -0000 1.6 @@ -47,10 +47,10 @@ public static final String STEREOTYPE_SELECT_METHOD = "SelectMethod"; /** - * Specifies the environment entry stereotype - used in EJB2.x - * This may be deprecated in future releases. + * Specifies the environment entry stereotype used on static variables + * to permit Resource injection. */ - public static final String STEREOTYPE_ENV_ENTRY = "EnvEntry"; + public static final String STEREOTYPE_ENV_ENTRY = profile.get("ENV_ENTRY"); /** * Specifies the version stereotype - optimistic lock value of an attribute of an entity. |
From: Vance K. <va...@us...> - 2006-01-23 05:49:53
|
User: vancek Date: 06/01/22 21:49:43 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: extracted noSyntheticCreateMethod to profile Revision Changes Path 1.7 +9 -3 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.6 retrieving revision 1.7 diff -u -w -r1.6 -r1.7 --- EJB3Profile.java 22 Jan 2006 06:23:33 -0000 1.6 +++ EJB3Profile.java 23 Jan 2006 05:49:43 -0000 1.7 @@ -135,10 +135,10 @@ public static final String TAGGEDVALUE_EJB_TRANSACTION_MANAGEMENT = profile.get("SERVICE_TRANSACTION_MANAGEMENT"); /** - * Used in EJB2.x - * May be deprecated in future releases. + * The tagged value indicating whether to not allow synthetic + * (auto generated) create/constructors. */ - public static final String TAGGEDVALUE_EJB_NO_SYNTHETIC_CREATE_METHOD = "@andromda.ejb.noSyntheticCreateMethod"; + public static final String TAGGEDVALUE_EJB_NO_SYNTHETIC_CREATE_METHOD = profile.get("NO_SYNTHETIC_CREATE_METHOD"); /** * The tagged value indicating the finder temporal type. @@ -386,4 +386,10 @@ * Timer Service timeout callback method. */ public static final String TAGGEDVALUE_SERVICE_TIMER_TIMEOUT = profile.get("SERVICE_TIMER_TIMEOUT"); + + /** + * The tagged value indicating the MDB or session bean + * container configuration name specific to JBoss. + */ + public static final String TAGGEDVALUE_EJB_CONTAINER_CONFIGURATION = profile.get("CONTAINER_CONFIGURATION"); } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-01-26 07:03:55
|
User: vancek Date: 06/01/25 23:03:47 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: added TAGGEDVALUE_ASSOCIATION_COLLECTION_TYPE constant Revision Changes Path 1.8 +6 -0 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.7 retrieving revision 1.8 diff -u -w -r1.7 -r1.8 --- EJB3Profile.java 23 Jan 2006 05:49:43 -0000 1.7 +++ EJB3Profile.java 26 Jan 2006 07:03:47 -0000 1.8 @@ -392,4 +392,10 @@ * container configuration name specific to JBoss. */ public static final String TAGGEDVALUE_EJB_CONTAINER_CONFIGURATION = profile.get("CONTAINER_CONFIGURATION"); + + /** + * Defines the association collection type + */ + public static final String TAGGEDVALUE_ASSOCIATION_COLLECTION_TYPE = profile.get("ASSOCIATION_COLLECTION_TYPE"); + } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-01-29 01:54:34
|
User: vancek Date: 06/01/28 17:54:28 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: defined STEREOTYPE_LISTENER static constant Revision Changes Path 1.9 +6 -0 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.8 retrieving revision 1.9 diff -u -w -r1.8 -r1.9 --- EJB3Profile.java 26 Jan 2006 07:03:47 -0000 1.8 +++ EJB3Profile.java 29 Jan 2006 01:54:27 -0000 1.9 @@ -104,6 +104,12 @@ */ public static final String STEREOTYPE_SECURITY_RUNAS = profile.get("SECURITY_RUN_AS"); + /** + * Represents a callback listener class for entity, session and + * message driven bean classes. + */ + public static final String STEREOTYPE_LISTENER = profile.get("LISTENER"); + /* ----------------- Tagged Values -------------------- */ /** |
From: Vance K. <va...@us...> - 2006-02-06 04:01:43
|
User: vancek Date: 06/02/05 20:01:37 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: added STEREOTYPE_SERVICE_TIMER_TIMEOUT and STEREOTYPE_LOB renamed TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_TEMPORAL_TYPE to TAGGEDVALUE_PERSISTENCE_TEMPORAL_TYPE added TAGGEDVALUE_PERSISTENCE_ENUMERATION_TYPE removed TAGGEDVALUE_PERSISTENCE_ACCESS_TYPE Revision Changes Path 1.10 +32 -22 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.9 retrieving revision 1.10 diff -u -w -r1.9 -r1.10 --- EJB3Profile.java 29 Jan 2006 01:54:27 -0000 1.9 +++ EJB3Profile.java 6 Feb 2006 04:01:36 -0000 1.10 @@ -94,7 +94,7 @@ public static final String STEREOTYPE_DATA_SOURCE = profile.get("DATA_SOURCE"); /** - * Represents an interceptor class for a session bean. + * Represents an class for a session bean. */ public static final String STEREOTYPE_INTERCEPTOR = profile.get("INTERCEPTOR"); @@ -110,6 +110,17 @@ */ public static final String STEREOTYPE_LISTENER = profile.get("LISTENER"); + /** + * Specifies the session bean operation as a + * Timer Service timeout callback method. + */ + public static final String STEREOTYPE_SERVICE_TIMER_TIMEOUT = profile.get("SERVICE_TIMER_TIMEOUT"); + + /** + * Represents a LOB type attribute. + */ + public static final String STEREOTYPE_LOB = profile.get("LOB"); + /* ----------------- Tagged Values -------------------- */ /** @@ -147,10 +158,10 @@ public static final String TAGGEDVALUE_EJB_NO_SYNTHETIC_CREATE_METHOD = profile.get("NO_SYNTHETIC_CREATE_METHOD"); /** - * The tagged value indicating the finder temporal type. + * The tagged value indicating the temporal type specified on attributes or + * finder method arguments of temporal nature. */ - public static final String TAGGEDVALUE_PERSISTENCE_FINDER_PARAMETER_TEMPORAL_TYPE = - profile.get("ENTITY_FINDER_TEMPORAL_TYPE"); + public static final String TAGGEDVALUE_PERSISTENCE_TEMPORAL_TYPE = profile.get("TEMPORAL_TYPE"); /** * The tagged value indicating the finder method parameter result type @@ -170,14 +181,14 @@ public static final String TAGGEDVALUE_PERSISTENCE_FETCH_TYPE = profile.get("FETCH_TYPE"); /** - * The tagged value indicating the LOB type. + * The tagged value indicating the cascade type. */ - public static final String TAGGEDVALUE_PERSISTENCE_LOB_TYPE = profile.get("LOB_TYPE"); + public static final String TAGGEDVALUE_PERSISTENCE_CASCADE_TYPE = profile.get("CASCADE_TYPE"); /** - * The tagged value indicating the cascade type. + * The tagged value indicating the enumeration type (ORDINAL, STRING). */ - public static final String TAGGEDVALUE_PERSISTENCE_CASCADE_TYPE = profile.get("CASCADE_TYPE"); + public static final String TAGGEDVALUE_PERSISTENCE_ENUMERATION_TYPE = profile.get("ENUMERATION_TYPE"); /** * The tagged value indicating the generator type. @@ -291,12 +302,6 @@ profile.get("ENTITY_DISCRIMINATOR_COLUMN_LENGTH"); /** - * The tagged value representing the access type for the - * entity class - */ - public static final String TAGGEDVALUE_PERSISTENCE_ACCESS_TYPE = profile.get("ENTITY_ACCESS_TYPE"); - - /** * The tagged value representing whether this entity is an * embeddable superclass */ @@ -388,12 +393,6 @@ public static final String TAGGEDVALUE_EJB_SESSION_JNDI_NAME_Local = profile.get("SERVICE_JNDI_NAME_LOCAL"); /** - * The tagged value indicating the session bean operation as a - * Timer Service timeout callback method. - */ - public static final String TAGGEDVALUE_SERVICE_TIMER_TIMEOUT = profile.get("SERVICE_TIMER_TIMEOUT"); - - /** * The tagged value indicating the MDB or session bean * container configuration name specific to JBoss. */ @@ -404,4 +403,15 @@ */ public static final String TAGGEDVALUE_ASSOCIATION_COLLECTION_TYPE = profile.get("ASSOCIATION_COLLECTION_TYPE"); + /** + * Defines whether to exclude the default interceptors for the session operation. + */ + public static final String TAGGEDVALUE_SERVICE_INTERCEPTOR_EXCLUDE_DEFAULT = + profile.get("EXCLUDE_DEFAULT_INTERCEPTORS"); + + /** + * Defines whether to exclude the class interceptors for the session operation. + */ + public static final String TAGGEDVALUE_SERVICE_INTERCEPTOR_EXCLUDE_CLASS = + profile.get("EXCLUDE_CLASS_INTERCEPTORS"); } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-02-06 04:33:53
|
User: vancek Date: 06/02/05 20:33:46 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: removed STEREOTYPE_MESSAGE_DRIVEN_REF static constant Revision Changes Path 1.11 +0 -5 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.10 retrieving revision 1.11 diff -u -w -r1.10 -r1.11 --- EJB3Profile.java 6 Feb 2006 04:01:36 -0000 1.10 +++ EJB3Profile.java 6 Feb 2006 04:33:46 -0000 1.11 @@ -79,11 +79,6 @@ public static final String STEREOTYPE_RESOURCE_REF = profile.get("RESOURCE_REF"); /** - * Represents a reference to a JMS message driven bean. - */ - public static final String STEREOTYPE_MESSAGE_DRIVEN_REF = profile.get("MESSAGE_DRIVEN_REF"); - - /** * Represents a class used to inject a javax.transaction.UserTransaction as a resource. */ public static final String STEREOTYPE_USER_TRANSACTION = profile.get("USER_TRANSACTION"); |
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 |
From: Vance K. <va...@us...> - 2006-02-09 07:16:17
|
User: vancek Date: 06/02/08 23:16:10 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: defined column insert nad column update tagged value constants Revision Changes Path 1.13 +12 -0 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.12 retrieving revision 1.13 diff -u -w -r1.12 -r1.13 --- EJB3Profile.java 8 Feb 2006 10:15:28 -0000 1.12 +++ EJB3Profile.java 9 Feb 2006 07:16:07 -0000 1.13 @@ -248,6 +248,18 @@ public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_NULLABLE = profile.get("COLUMN_NULLABLE"); /** + * The tagged value that specifies whether a mapped column should be + * included in SQL INSERT statements. + */ + public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_INSERT = profile.get("COLUMN_INSERT"); + + /** + * The tagged value that specifies whether a mapped column should be included + * in SQL UPDATE statements. + */ + public static final String TAGGEDVALUE_PERSISTENCE_COLUMN_UPDATE = profile.get("COLUMN_UPDATE"); + + /** * The tagged value that indicates the order by logic on the * Many side of the One-to-Many and Many-to-Many relationships. */ |
From: Vance K. <va...@us...> - 2006-02-25 14:47:08
|
User: vancek Date: 06/02/25 06:47:02 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: renamed SERVICE_TRANSACTION_MANAGEMENT to TRANSACTION_MANAGEMENT profile element reference Revision Changes Path 1.14 +2 -2 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.13 retrieving revision 1.14 diff -u -w -r1.13 -r1.14 --- EJB3Profile.java 9 Feb 2006 07:16:07 -0000 1.13 +++ EJB3Profile.java 25 Feb 2006 14:47:02 -0000 1.14 @@ -159,9 +159,9 @@ /** * The tagged value indicating the transaction demarcation * strategy. This only applies at the class level of a - * session bean. + * session and message-driven bean. */ - public static final String TAGGEDVALUE_EJB_TRANSACTION_MANAGEMENT = profile.get("SERVICE_TRANSACTION_MANAGEMENT"); + public static final String TAGGEDVALUE_EJB_TRANSACTION_MANAGEMENT = profile.get("TRANSACTION_MANAGEMENT"); /** * The tagged value indicating whether to not allow synthetic |
From: Vance K. <va...@us...> - 2006-03-02 10:31:29
|
User: vancek Date: 06/03/02 02:30:56 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: declare stereotypes for lifecycle methods Revision Changes Path 1.15 +23 -3 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.14 retrieving revision 1.15 diff -u -w -r1.14 -r1.15 --- EJB3Profile.java 25 Feb 2006 14:47:02 -0000 1.14 +++ EJB3Profile.java 2 Mar 2006 10:30:49 -0000 1.15 @@ -122,17 +122,37 @@ public static final String STEREOTYPE_LOB = profile.get("LOB"); /** - * The tagged value indicating the finder method parameter result type + * The stereotype 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 + * The stereotype 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"); + /** + * Specifies the operation as a post-construct callback + */ + public static final String STEREOTYPE_POST_CONSTRUCT = profile.get("POST_CONSTRUCT"); + + /** + * Specifies the operation as a pre-destroy callback + */ + public static final String STEREOTYPE_PRE_DESTROY = profile.get("PRE_DESTROY"); + + /** + * Specifies the operation as a post-activate callback + */ + public static final String STEREOTYPE_POST_ACTIVATE = profile.get("POST_ACTIVATE"); + + /** + * Specifies the operation as a pre-passivate callback + */ + public static final String STEREOTYPE_PRE_PASSIVATE = profile.get("PRE_PASSIVATE"); + /* ----------------- Tagged Values -------------------- */ /** |
From: Vance K. <va...@us...> - 2006-03-05 05:59:41
|
User: vancek Date: 06/03/04 21:59:40 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: added entity lifecycle callback stereotype declarations Revision Changes Path 1.16 +39 -4 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.15 retrieving revision 1.16 diff -u -w -r1.15 -r1.16 --- EJB3Profile.java 2 Mar 2006 10:30:49 -0000 1.15 +++ EJB3Profile.java 5 Mar 2006 05:59:40 -0000 1.16 @@ -134,25 +134,60 @@ public static final String STEREOTYPE_FINDER_RESULT_TYPE_MAX = profile.get("RESULT_TYPE_MAX"); /** - * Specifies the operation as a post-construct callback + * Specifies the session/message-driven bean operation as a post-construct callback */ public static final String STEREOTYPE_POST_CONSTRUCT = profile.get("POST_CONSTRUCT"); /** - * Specifies the operation as a pre-destroy callback + * Specifies the session/message-driven bean operation as a pre-destroy callback */ public static final String STEREOTYPE_PRE_DESTROY = profile.get("PRE_DESTROY"); /** - * Specifies the operation as a post-activate callback + * Specifies the session bean operation as a post-activate callback */ public static final String STEREOTYPE_POST_ACTIVATE = profile.get("POST_ACTIVATE"); /** - * Specifies the operation as a pre-passivate callback + * Specifies the session bean operation as a pre-passivate callback */ public static final String STEREOTYPE_PRE_PASSIVATE = profile.get("PRE_PASSIVATE"); + /** + * Specifies the entity bean operation as a pre-persist callback + */ + public static final String STEREOTYPE_PRE_PERSIST = profile.get("PRE_PERSIST"); + + /** + * Specifies the entity operation as a post-persist callback + */ + public static final String STEREOTYPE_POST_PERSIST = profile.get("POST_PERSIST"); + + /** + * Specifies the entity bean operation as a pre-remove callback + */ + public static final String STEREOTYPE_PRE_REMOVE = profile.get("PRE_REMOVE"); + + /** + * Specifies the entity bean operation as a post-remove callback + */ + public static final String STEREOTYPE_POST_REMOVE = profile.get("POST_REMOVE"); + + /** + * Specifies the entity bean operation as a pre-update callback + */ + public static final String STEREOTYPE_PRE_UPDATE = profile.get("PRE_UPDATE"); + + /** + * Specifies the entity bean operation as a post-update callback + */ + public static final String STEREOTYPE_POST_UPDATE = profile.get("POST_UPDATE"); + + /** + * Specifies the entity bean operation as a post-load callback + */ + public static final String STEREOTYPE_POST_LOAD = profile.get("POST_LOAD"); + /* ----------------- Tagged Values -------------------- */ /** |
From: Vance K. <va...@us...> - 2006-03-07 09:22:04
|
User: vancek Date: 06/03/07 01:22:02 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: declared TAGGEDVALUE_EJB_PERSISTENCE_CONTEXT_DATASOURCE Revision Changes Path 1.17 +7 -0 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.16 retrieving revision 1.17 diff -u -w -r1.16 -r1.17 --- EJB3Profile.java 5 Mar 2006 05:59:40 -0000 1.16 +++ EJB3Profile.java 7 Mar 2006 09:22:01 -0000 1.17 @@ -388,6 +388,13 @@ profile.get("SERVICE_PERSISTENCE_CONTEXT_TYPE"); /** + * The tagged value representing the persistence context + * datasource JNDI name + */ + public static final String TAGGEDVALUE_EJB_PERSISTENCE_CONTEXT_DATASOURCE = + profile.get("SERVICE_PERSISTENCE_CONTEXT_DATASOURCE"); + + /** * The tagged value representing the flush mode on bean operation. */ public static final String TAGGEDVALUE_EJB_PERSISTENCE_FLUSH_MODE = profile.get("SERVICE_PERSISTENCE_FLUSH_MODE"); |
From: Vance K. <va...@us...> - 2006-03-09 04:38:12
|
User: vancek Date: 06/03/08 20:38:12 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: declared STEREOTYPE_DEFAULT_INTERCEPTOR Revision Changes Path 1.18 +6 -1 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.17 retrieving revision 1.18 diff -u -w -r1.17 -r1.18 --- EJB3Profile.java 7 Mar 2006 09:22:01 -0000 1.17 +++ EJB3Profile.java 9 Mar 2006 04:38:11 -0000 1.18 @@ -94,11 +94,16 @@ public static final String STEREOTYPE_DATA_SOURCE = profile.get("DATA_SOURCE"); /** - * Represents an class for a session bean. + * Represents an interceptor class for a session or message-driven bean. */ public static final String STEREOTYPE_INTERCEPTOR = profile.get("INTERCEPTOR"); /** + * Represents a default interceptor for a session or message-driven bean. + */ + public static final String STEREOTYPE_DEFAULT_INTERCEPTOR = profile.get("DEFAULT_INTERCEPTOR"); + + /** * Represents a dependency from an actor that is identified to * apply a run-as identity to the bean when making calls. */ |
From: Vance K. <va...@us...> - 2006-03-14 06:20:42
|
User: vancek Date: 06/03/13 22:20:41 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: declared cache related tagged value constants Revision Changes Path 1.19 +15 -0 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.18 retrieving revision 1.19 diff -u -w -r1.18 -r1.19 --- EJB3Profile.java 9 Mar 2006 04:38:11 -0000 1.18 +++ EJB3Profile.java 14 Mar 2006 06:20:41 -0000 1.19 @@ -492,4 +492,19 @@ public static final String TAGGEDVALUE_SERVICE_INTERCEPTOR_EXCLUDE_CLASS = profile.get("EXCLUDE_CLASS_INTERCEPTORS"); + /** + * Defines the cache type for the Entity. + */ + public static final String TAGGEDVALUE_HIBERNATE_ENTITY_CACHE = profile.get("ENTITY_CACHE"); + + /** + * Defines the cache type for a relationship collection. + */ + public static final String TAGGEDVALUE_HIBERNATE_ASSOCIATION_CACHE = profile.get("ASSOCIATION_CACHE"); + + /** + * Defines whether query cache is enable for query. + */ + public static final String TAGGEDVALUE_EJB_USE_QUERY_CACHE = profile.get("USE_QUERY_CACHE"); + } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-03-16 02:14:21
|
User: vancek Date: 06/03/15 18:14:19 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: removed STEREOTYPE_TRANSIENT declaration. refactored STEREOTYPE_DEFAULT_INTERCEPTOR to TAGGEDVALUE_DEFAULT_INTERCEPTOR. Revision Changes Path 1.20 +5 -10 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.19 retrieving revision 1.20 diff -u -w -r1.19 -r1.20 --- EJB3Profile.java 14 Mar 2006 06:20:41 -0000 1.19 +++ EJB3Profile.java 16 Mar 2006 02:14:14 -0000 1.20 @@ -63,11 +63,6 @@ public static final String STEREOTYPE_VERSION = profile.get("VERSION"); /** - * Represents a transient entity attribute - non persistent. - */ - public static final String STEREOTYPE_TRANSIENT = profile.get("TRANSIENT"); - - /** * Represents a reference to a value object - used in EJB2.x * This may be deprecated in furture releases. */ @@ -99,11 +94,6 @@ public static final String STEREOTYPE_INTERCEPTOR = profile.get("INTERCEPTOR"); /** - * Represents a default interceptor for a session or message-driven bean. - */ - public static final String STEREOTYPE_DEFAULT_INTERCEPTOR = profile.get("DEFAULT_INTERCEPTOR"); - - /** * Represents a dependency from an actor that is identified to * apply a run-as identity to the bean when making calls. */ @@ -493,6 +483,11 @@ profile.get("EXCLUDE_CLASS_INTERCEPTORS"); /** + * Defines a default interceptor for a session or message-driven bean. + */ + public static final String TAGGEDVALUE_DEFAULT_INTERCEPTOR = profile.get("DEFAULT_INTERCEPTOR"); + + /** * Defines the cache type for the Entity. */ public static final String TAGGEDVALUE_HIBERNATE_ENTITY_CACHE = profile.get("ENTITY_CACHE"); |
From: Vance K. <va...@us...> - 2006-03-16 15:29:20
|
User: vancek Date: 06/03/16 07:29:20 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: refactored STEREOTYPE_LOB to TAGGEDVALUE_EJB_PERSISTENCE_LOB_TYPE Revision Changes Path 1.21 +5 -5 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.20 retrieving revision 1.21 diff -u -w -r1.20 -r1.21 --- EJB3Profile.java 16 Mar 2006 02:14:14 -0000 1.20 +++ EJB3Profile.java 16 Mar 2006 15:29:20 -0000 1.21 @@ -112,11 +112,6 @@ public static final String STEREOTYPE_SERVICE_TIMER_TIMEOUT = profile.get("SERVICE_TIMER_TIMEOUT"); /** - * Represents a LOB type attribute. - */ - public static final String STEREOTYPE_LOB = profile.get("LOB"); - - /** * The stereotype indicating the finder method parameter result type * is assigned to be the first/index. */ @@ -395,6 +390,11 @@ public static final String TAGGEDVALUE_EJB_PERSISTENCE_FLUSH_MODE = profile.get("SERVICE_PERSISTENCE_FLUSH_MODE"); /** + * The tagged value overriding the default LOB type for attribute. + */ + public static final String TAGGEDVALUE_EJB_PERSISTENCE_LOB_TYPE = profile.get("LOB_TYPE"); + + /** * The tagged value representing the session EJB type (Stateless or Stateful) */ public static final String TAGGEDVALUE_EJB_SESSION_TYPE = profile.get("SERVICE_TYPE"); |
From: Vance K. <va...@us...> - 2006-04-11 16:09:01
|
User: vancek Date: 06/04/11 09:08:57 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: declared TAGGEDVALUE_WEBSERVICE_PARAMETER_STYLE and TAGGEDVALUE_WEBSERVICE_OPERATION_ONEWAY constants Revision Changes Path 1.22 +9 -0 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.21 retrieving revision 1.22 diff -u -w -r1.21 -r1.22 --- EJB3Profile.java 16 Mar 2006 15:29:20 -0000 1.21 +++ EJB3Profile.java 11 Apr 2006 16:08:57 -0000 1.22 @@ -502,4 +502,13 @@ */ public static final String TAGGEDVALUE_EJB_USE_QUERY_CACHE = profile.get("USE_QUERY_CACHE"); + /** + * Defines the webservice parameter style + */ + public static final String TAGGEDVALUE_WEBSERVICE_PARAMETER_STYLE = profile.get("WEBSERVICE_PARAMETER_STYLE"); + + /** + * Defines the webservice method as oneway + */ + public static final String TAGGEDVALUE_WEBSERVICE_OPERATION_ONEWAY = profile.get("WEBSERVICE_OPERATION_ONEWAY"); } \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-04-17 02:00:33
|
User: vancek Date: 06/04/16 19:00:32 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: declared TAGGEDVALUE_WEBSERVICE_OPERATION_NAME and TAGGEDVALUE_WEBSERVICE_OPERATION_RESULT_NAME constants Revision Changes Path 1.23 +11 -0 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.22 retrieving revision 1.23 diff -u -w -r1.22 -r1.23 --- EJB3Profile.java 11 Apr 2006 16:08:57 -0000 1.22 +++ EJB3Profile.java 17 Apr 2006 02:00:31 -0000 1.23 @@ -511,4 +511,15 @@ * Defines the webservice method as oneway */ public static final String TAGGEDVALUE_WEBSERVICE_OPERATION_ONEWAY = profile.get("WEBSERVICE_OPERATION_ONEWAY"); + + /** + * Defines the webservice method name + */ + public static final String TAGGEDVALUE_WEBSERVICE_OPERATION_NAME = profile.get("WEBSERVICE_OPERATION_NAME"); + + /** + * Defines the webservice method result name + */ + public static final String TAGGEDVALUE_WEBSERVICE_OPERATION_RESULT_NAME = + profile.get("WEBSERVICE_OPERATION_RESULT_NAME"); } \ No newline at end of file |