KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > fractal > api > control > NameController


1 /***
2  * Fractal API
3  * Copyright (C) 2001-2002 France Telecom, INRIA
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  *
19  * Contact: fractal@objectweb.org
20  *
21  * Authors: Eric Bruneton, Thierry Coupaye, Pascal Dechamboux, Romain Lenglet,
22  * Philippe Merle, Jean-Bernard Stefani.
23  */

24
25 package org.objectweb.fractal.api.control;
26
27 /**
28  * A component interface to control the name of the component to which it
29  * belongs.
30  */

31
32 public interface NameController {
33
34   /**
35    * Returns the name of the component to which this interface belongs.
36    *
37    * @return the name of the component to which this interface belongs.
38    * @see #setFcName
39    */

40
41   String JavaDoc getFcName ();
42
43   /**
44    * Sets the name of the component to which this interface belongs.
45    *
46    * @param name a component name.
47    * @see #getFcName
48    */

49
50   void setFcName (String JavaDoc name);
51 }
52
Popular Tags