KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > ccm > IDL3 > HomeDecl


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2002 USTL - LIFL - GOAL
5 Contact: openccm-team@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): Philippe Merle, Mathieu Vadet.
23 Contributor(s): ______________________________________.
24
25 ====================================================================*/

26
27 package org.objectweb.ccm.IDL3;
28
29 /**
30  * This interface manages home declarations.
31  *
32  * @author <a=href="Philippe.Merle@lifl.fr">Philippe Merle</a>
33  * <a=href="Mathieu.Vadet@lifl.fr">Mathieu Vadet</a>
34  *
35  * @version 0.3
36  */

37
38 public interface HomeDecl
39        extends InterfaceDecl
40 {
41     /**
42      * Set the base home.
43      *
44      * @param base_home The base home.
45      */

46     public void
47     setBaseHome(HomeRef base_home);
48
49     /**
50      * Set the managed component.
51      *
52      * @param managed_component The managed component.
53      */

54     public void
55     setManagedComponent(ComponentRef managed_component);
56
57     /**
58      * Set the primary key.
59      *
60      * @param primary_key The primary key.
61      */

62     public void
63     setPrimaryKey(ValueRef primary_key);
64
65     /**
66      * Add an interface.
67      *
68      * @param itf The supported interface to add.
69      */

70     public void
71     addSupportedInterface(InterfaceRef itf);
72
73     /**
74      * Obtain the base home.
75      *
76      * @return The base home.
77      */

78     public HomeDecl
79     getBaseHome();
80
81     /**
82      * Obtain the managed component.
83      *
84      * @return The managed component.
85      */

86     public ComponentDecl
87     getManagedComponent();
88
89     /**
90      * Obtain the primary key.
91      *
92      * @return The primary key.
93      */

94     public ValueDecl
95     getPrimaryKey();
96
97     /**
98      * Obtain the supported interface declarations.
99      *
100      * @return The supported interface declarations.
101      */

102     public InterfaceDecl[]
103     getSupportedInterfaces();
104
105     /**
106      * Obtain the client explicit interface mapping.
107      *
108      * @return The client explicit interface mapping.
109      */

110     public InterfaceDecl
111     getClientExplicitMapping();
112
113     /**
114      * Obtain the client implicit interface mapping.
115      *
116      * @return The client implicit interface mapping.
117      */

118     public InterfaceDecl
119     getClientImplicitMapping();
120
121     /**
122      * Obtain the client interface mapping.
123      *
124      * @return The client interface mapping.
125      */

126     public InterfaceDecl
127     getClientMapping();
128
129     /**
130      * Obtain the local interface mapping.
131      *
132      * @return The local interface mapping.
133      */

134     public InterfaceDecl
135     getLocalMapping();
136 }
137
Popular Tags