Actors represent roles within your model. To designate that a role has access
to a given web service you must draw a dependeny from an Actor to the <<WebService>>.
AndroMDA WebService 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 WebService 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.
Service
(Back to Stereotypes)
|
Applied on: class |
Creates a WSDD file for each model element with
this stereotype. Each method to be exposed, must be
stereotyped with the <<WebServiceOperation>> stereotype.
|
WebServiceOperation
(Back to Stereotypes)
|
Applied on: Service operation |
This is used in conjunction with the <<Service>> stereotype.
Adds the method to the list of allowed methods
which will be exposed as a web service. You MUST
place this stereotype on an operation if you want it exposed
as a web service (unless you add the <<WebService>> stereotype to your class).
|
ValueObject
(Back to Stereotypes)
|
Applied on: class |
Allows the definition of complex types. These types can be related
to each other through associations and if the association multiplicity
is greater than 1, then an array reference will be generated (instead
of a Collection).
|
Nullable
(Back to Stereotypes)
|
Applied on: Service operation parameter |
Allows you to define whether or not operation parameters can be nullable
or nillable (in WSDL terms). If this is NOT
defined on a parameter, then a null check will be generated for that
parameter on the service operation.
|
@andromda.webservice.provider
(Back to Tagged Values)
|
Applied on: Service and WebService |
The provider to use for the service, by default its RPC
which will use a plain java object as the provider. Another value
that can be specified is EJB , if this is specified,
then its expected that either the EJB or Hibernate cartridge
is being used with this cartridge.
|
@andromda.role.name
(Back to Tagged Values)
|
Applied on: An actor with a dependency to a <<WebService>> |
Optionally allows you to define the name of the role (if it needs
to be different than the name of the actor that defines the role).
|