KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > uml > lib > TheUMLPackage


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2004 INRIA - USTL - LIFL - GOAL
5 Contact: openccm@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): Pierre Carpentier.
23 Contributor(s): Philippe Merle.
24
25 ---------------------------------------------------------------------
26 $Id: TheUMLPackage.java,v 1.2 2004/04/19 17:10:40 carpentier Exp $
27 ====================================================================*/

28
29 package org.objectweb.openccm.uml.lib;
30
31 /**
32  * This class encapsulates the UML package singleton object.
33  *
34  * @author <a HREF="mailto:Pierre.Carpentier@lifl.fr">Pierre Carpentier</a>
35  *
36  * @version 1.0
37  */

38
39 public class TheUMLPackage {
40
41     // ==================================================================
42
//
43
// Internal state.
44
//
45
// ==================================================================
46

47     /** To store the UML package singleton object. */
48     private static org.omg.uml.UmlPackage uml_package_ = null;
49
50
51     // ==================================================================
52
//
53
// No constructor.
54
//
55
// ==================================================================
56

57     // ==================================================================
58
//
59
// Internal methods.
60
//
61
// ==================================================================
62

63     // ==================================================================
64
//
65
// Public methods.
66
//
67
// ==================================================================
68

69     /**
70      * Obtain the UML package singleton object.
71      *
72      * @return The UML package singleton object.
73      */

74     public static org.omg.uml.UmlPackage
75     getUMLPackage()
76     {
77         return uml_package_;
78     }
79
80
81     /**
82      * Set the UML package singleton object.
83      *
84      * @param uml_package The UML package singleton object.
85      */

86     public static void
87     setUMLPackage(org.omg.uml.UmlPackage uml_package)
88     {
89         uml_package_ = uml_package;
90     }
91
92
93 }
94
Popular Tags