1
2
3
4 package org.andromda.metafacades.uml;
5
6 /***
7 * <p>
8 * Represents a service.
9 * </p>
10 *
11 * Metafacade interface to be used by AndroMDA cartridges.
12 */
13 public interface Service
14 extends org.andromda.metafacades.uml.ClassifierFacade
15 {
16
17 /***
18 * Indicates the metafacade type (used for metafacade mappings).
19 *
20 * @return always <code>true</code>
21 */
22 public boolean isServiceMetaType();
23
24 /***
25 * <p>
26 * All roles associated with the service, this includes both roles
27 * that have access to the entire service, and any roles that have
28 * access to a single operation.
29 * </p>
30 */
31 public java.util.Collection getAllRoles();
32
33 /***
34 * <p>
35 * Returns a collection of all services this service and its
36 * ancestors have a relation to.
37 * </p>
38 */
39 public java.util.Collection getAllServiceReferences();
40
41 /***
42 * <p>
43 * References to all entities to which this service has a
44 * dependency.
45 * </p>
46 */
47 public java.util.Collection getEntityReferences();
48
49 /***
50 * <p>
51 * The roles of the service, these are the actor's that can access
52 * this service.
53 * </p>
54 */
55 public java.util.Collection getRoles();
56
57 /***
58 * <p>
59 * References to all services to which this service has a
60 * dependency.
61 * </p>
62 */
63 public java.util.Collection getServiceReferences();
64
65 }