KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > ast > utils > api > CompositionInfo


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
5 Contact: openccm@objectweb.org
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 USA
21
22 Initial developer(s): Christophe Demarey.
23 Contributor(s): ______________________________________.
24
25 ====================================================================*/

26
27 package org.objectweb.openccm.ast.utils.api;
28
29 // Package dependencies.
30
import org.objectweb.openccm.ast.api.CompositionDecl;
31 import org.objectweb.openccm.ast.api.HomeDecl;
32 import org.objectweb.openccm.ast.api.HomeExecutorDecl;
33 import org.objectweb.openccm.ast.api.ProxyHomeDecl;
34 import org.objectweb.openccm.ast.api.ComponentDecl;
35 import org.objectweb.openccm.ast.api.ExecutorDecl;
36 import org.objectweb.openccm.ast.api.SegmentDecl;
37
38 /**
39  * This interface provides easy access to composition elements.
40  *
41  * @author <a HREF="mailto:Christophe.Demarey@lifl.fr">Christophe Demarey</a>
42  *
43  * @version 0.1
44  */

45
46 public interface CompositionInfo
47 {
48     /**
49      * Get the Composition declaration.
50      *
51      * @return The Composition declaration.
52      **/

53     public CompositionDecl
54     getComposition();
55
56     /**
57      * Get the Home declaration.
58      *
59      * @return The Home declaration.
60      **/

61     public HomeDecl
62     getHome();
63
64     /**
65      * Get the Home executor declaration.
66      *
67      * @return The Home executor declaration.
68      **/

69     public HomeExecutorDecl
70     getHomeExecutor();
71
72     /**
73      * Get the Proxy Home declaration.
74      *
75      * @return The Proxy Home declaration.
76      **/

77     public ProxyHomeDecl
78     getProxyHome();
79
80    /**
81      * Get the Component declaration.
82      *
83      * @return The Component declaration.
84      **/

85     public ComponentDecl
86     getComponent();
87
88     /**
89      * Get the Component executor declaration.
90      *
91      * @return The Component executor declaration.
92      **/

93     public ExecutorDecl
94     getComponentExecutor();
95
96     /**
97      * Get segment declarations.
98      *
99      * @return Segment declarations.
100      **/

101     public SegmentDecl[]
102     getSegments();
103 }
104
Popular Tags