KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*====================================================================
2
3 created on 25 f?vr. 03
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 /**
33  * @author hameau
34  */

35 public class TypeImpl
36 extends org.omg.CORBA.LocalObject JavaDoc
37 implements Type
38 {
39     // attribute
40

41     protected Type _type;
42     protected type_kind _type_kind;
43     protected String JavaDoc _name;
44     protected String JavaDoc _rep_id;
45     protected String JavaDoc _type_instance_factory_entrypt;
46             
47     // constructor
48

49     public TypeImpl(){
50 // _type_kind = type_kind.COMPONENT_TYPE;
51
};
52     
53     // methods
54

55     /* (non-Javadoc)
56      * @see org.objectweb.openccm.Containers.TypeOperations#name()
57      */

58     public String JavaDoc name() {
59             return _name;
60     }
61
62     /* (non-Javadoc)
63      * @see org.objectweb.openccm.Containers.TypeOperations#rep_id()
64      */

65     public String JavaDoc rep_id() {
66         return _rep_id;
67     }
68
69     /* (non-Javadoc)
70      * @see org.objectweb.openccm.Containers.TypeOperations#type_instance_factory_entrypt()
71      */

72     public String JavaDoc type_instance_factory_entrypt() {
73         return _type_instance_factory_entrypt;
74     }
75
76     /* (non-Javadoc)
77      * @see org.objectweb.openccm.Containers.MetaInformation.TypeOperations#type_reference()
78      */

79     public Type type_reference() {
80      return _type;
81     }
82
83     /* (non-Javadoc)
84      * @see org.objectweb.openccm.Containers.MetaInformation.TypeOperations#related_type_kind()
85      */

86     public type_kind related_type_kind() {
87         return _type_kind;
88     }
89
90 }
91
Popular Tags