Entity query operations (i.e. finders) can be denoted by setting the query flag on the modeled operation to true (they do not require any stereotypes).

AndroMDA EJB Cartridge Profile

This profile contains all elements that can be applied on the model used as the MDA transformation process. These elements are specific to the AndroMDA EJB Cartridge component.

Stereotypes
Stereotypes are the names you sometimes see appear in UML diagrams, they typically look like <<MyStereotype>> and can be applied on any type of UML model element.
Tagged Values
Sometimes it happens you want to add information to the model but there is no clean way of doing it. In those cases you may want to resort to tagged values, but these cases should be considered with caution. A tagged value is something extra, something optional, and the application should run fine without them.

Entity(Back to Stereotypes)
Applied on: class
Produces a CMP EJB entity.
Service(Back to Stereotypes)
Applied on: class
Produces a Session EJB facade for the CMP EJB entities.
ServiceElement(Back to Stereotypes)
Applied on: class, operation
View Type and Transaction Type taggedValues .
Identifier(Back to Stereotypes)
Applied on: Entity attribute
Identifies an attribute as an identifier (primary key).
CreateMethod(Back to Stereotypes)
Applied on: Entity operation
Used to tag an EJB create method.
EntityRef(Back to Stereotypes)
Applied on: A dependency going into an Entity
Used to reference an entity from another entity or service.
ServiceRef(Back to Stereotypes)
Applied on: A dependency going into a Service
Used to reference a service from an entity or another service.
ValueRef(Back to Stereotypes)
Applied on: A dependency going into a ValueObject and out of an Entity
Used to generate an association between an entity and a value object class. Found attributes inside the entity as well as the value object are used to get automatically filled out. The entity will provide the helper method, also for saving a value object to an existing entity.
andromda_ejb_automaticKey(Back to Tagged Values)
Applied on: Entity attribute
Can be used in class level of an entity. If you set this to true, the class will use an automatic key generation for the defined primary key. Please note: This is currently only available in BEA Weblogic and can not be used with combined primary keys.
andromda_ejb_query(Back to Tagged Values)
Applied on: An Entity operation marked as a query.
Defines a ejb query expression. Note that it's encouraged to model your query body as an OCL constraint (instead of using this tagged value).
andromda_ejb_viewType(Back to Tagged Values)
Applied on: Service
Defines the view type for a Session EJB.
Allowed values for this element:
  • remote (default)
  • local
  • both
andromda_transaction_type(Back to Tagged Values)
Applied on: Service operation
Defines a transaction type for the method.
Allowed values for this element:
  • NotSupported
  • Supports
  • Required
  • RequiresNew
  • Mandatory
  • Never
andromda_persistence_table(Back to Tagged Values)
Applied on: Entity or a many-to-many association.
Defines the relational table name for entity persistence.
andromda_persistence_column(Back to Tagged Values)
Applied on: Entity attribute
Represents the column name for entity persistence.
andromda_persistence_column_length(Back to Tagged Values)
Applied on: Entity attribute
Represents the column length for entity persistence.