KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > corba > generator > dependencies > api > CIDLDeclarationDependencies


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.corba.generator.dependencies.api;
28
29 // Package dependencies.
30
import org.objectweb.openccm.ast.api.Declaration;
31 import org.objectweb.openccm.ast.api.CompositionDecl;
32 import org.objectweb.openccm.ast.api.ExecutorDecl;
33 import org.objectweb.openccm.ast.api.SegmentDecl;
34 import org.objectweb.openccm.ast.api.HomeExecutorDecl;
35 import java.util.Set JavaDoc;
36
37
38 /**
39  * This interface allows you to get classes dependencies for a CIDL declaration.
40  *
41  * @author <a HREF="mailto:Christophe.Demarey@lifl.fr">Christophe Demarey</a>
42  *
43  * @version 0.1
44  */

45
46 public interface CIDLDeclarationDependencies
47          extends IDL3DeclarationDependencies
48 {
49     /**
50      * Get dependencies for a CIDL declaration.
51      *
52      * @param decl - Get dependencies for this declaration.
53      *
54      * @return The list of dependencies as a set of Files.
55      */

56     public Set JavaDoc
57     getDeclarationDependencies(Declaration decl);
58
59    /**
60      * Get Composition File dependencies.
61      *
62      * @param composition - The composition declaration.
63      *
64      * @return The list of dependencies as a set of Files.
65      */

66     public Set JavaDoc
67     getCompositionDependencies(CompositionDecl composition);
68
69     /**
70      * Get Component Executor File dependencies.
71      *
72      * @param exec - The Component executor declaration.
73      *
74      * @return The list of dependencies as a set of Files.
75      */

76     public Set JavaDoc
77     getExecutorDependencies(ExecutorDecl exec);
78
79      /**
80      * Get Segment File dependencies.
81      *
82      * @param seg - The Segment declaration.
83      *
84      * @return The list of dependencies as a set of Files.
85      */

86     public Set JavaDoc
87     getSegmentDependencies(SegmentDecl seg);
88
89    /**
90      * Get Home Executor File dependencies.
91      *
92      * @param home_exec - The home executor declaration.
93      *
94      * @return The list of dependencies as a set of Files.
95      */

96     public Set JavaDoc
97     getHomeExecutorDependencies(HomeExecutorDecl home_exec);
98 }
99
Popular Tags