KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > Containers > MetaInformation > InterfaceInstanceImpl


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

28
29 package org.objectweb.openccm.Containers.MetaInformation;
30
31 /**
32  * @author hameau
33  */

34 public class InterfaceInstanceImpl
35 extends InstanceImpl
36 implements InterfaceInstance{
37
38   protected InterfaceType _interface_type;
39   protected OperationInstanceList _operation_instance_list;
40   
41   public InterfaceInstanceImpl()
42   {
43     _operation_instance_list = new OperationInstanceListImpl();
44   }
45   
46   /* (non-Javadoc)
47    * @see org.objectweb.openccm.Containers.InterfaceInstanceOperations#interface_type()
48    */

49   public InterfaceType interface_type() {
50     
51     return _interface_type;
52   }
53   
54   /* (non-Javadoc)
55    * @see org.objectweb.openccm.Containers.InterfaceInstanceOperations#interface_type(org.objectweb.openccm.Containers.InterfaceType)
56    */

57   public void interface_type(InterfaceType value) {
58     
59     _interface_type = value;
60   }
61
62   /* (non-Javadoc)
63    * @see org.objectweb.openccm.Containers.MetaInformation.InterfaceInstanceOperations#operation_instance_list()
64    */

65   public OperationInstanceList operation_instance_list()
66   {
67     return _operation_instance_list;
68   }
69
70   /* (non-Javadoc)
71    * @see org.objectweb.openccm.Containers.MetaInformation.InterfaceInstanceOperations#operation_instance_list(org.objectweb.openccm.Containers.MetaInformation.OperationInstanceList)
72    */

73   public void operation_instance_list(OperationInstanceList value)
74   {
75     _operation_instance_list = value;
76   }
77
78 }
79
Popular Tags