KickJava   Java API By Example, From Geeks To Geeks.

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


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

27
28 package org.objectweb.openccm.Containers.MetaInformation;
29
30 /**
31  * Instance MI for attribute conceopt of CCM
32  * An attribute can be bound to a comoponent,
33  * a home or an interface MI object.
34  *
35  * @author <a HREF="mailto:hameau@lifl.fr">Hameau</a>
36  *
37  * @version 0.1
38  */

39
40 public class AttributeInstanceImpl
41 extends InstanceImpl
42 implements AttributeInstance
43 {
44   
45   // ==================================================================
46
//
47
// Internal states.
48
//
49
// ==================================================================
50

51   /** Instance MI for component getter attribute*/
52   private GetterAttributeInstance _getter_attribute_instance;
53   /** Instance MI for component setter attribute*/
54   private SetterAttributeInstance _setter_attribute_instance;
55
56   // ==================================================================
57
//
58
// Internal methods.
59
//
60
// ==================================================================
61

62   // NONE
63

64   //
65

66   // ==================================================================
67
//
68
// Public methods for ccm.Containers.MetaInformation::AttributeInstance.
69
//
70
// ==================================================================
71

72   
73   public GetterAttributeInstance getter_attribute_instance()
74   {
75     return _getter_attribute_instance;
76   }
77
78   /* (non-Javadoc)
79    * @see org.objectweb.openccm.Containers.MetaInformation.AttributeInstanceOperations#getter_attribute_instance(org.objectweb.openccm.Containers.MetaInformation.GetterAttributeInstance)
80    */

81    
82   public void getter_attribute_instance(GetterAttributeInstance value)
83   {
84     _getter_attribute_instance = value;
85   }
86
87   /* (non-Javadoc)
88    * @see org.objectweb.openccm.Containers.MetaInformation.AttributeInstanceOperations#setter_attribute_instance()
89    */

90   public SetterAttributeInstance setter_attribute_instance()
91   {
92     return _setter_attribute_instance;
93   }
94
95   /* (non-Javadoc)
96    * @see org.objectweb.openccm.Containers.MetaInformation.AttributeInstanceOperations#setter_attribute_instance(org.objectweb.openccm.Containers.MetaInformation.SetterAttributeInstance)
97    */

98   public void setter_attribute_instance(SetterAttributeInstance value)
99   {
100     _setter_attribute_instance = value;
101   }
102 }
103
Popular Tags