KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmfServicesComponents > NamePrimaryKeyFactoryImpl


1 /*====================================================================
2 Tnis file was produced by the OpenCCM ir3_jimpl generator.
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2002 USTL - LIFL - GOAL
5 Contact: openccm-team@objectweb.org
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or any later version.
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 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
17 USA
18 Initial developer(s): Philippe Merle, Mathieu Vadet.
19 Contributor(s): ______________________________________.
20 ====================================================================*/

21  
22 package ist.coach.coachEmfServicesComponents;
23  
24 /**
25  ** Implementation skeleton class for the ::coachEmfServicesComponents::NamePrimaryKey value factory.
26  ** Business operations MUST be completed !!!
27  **/

28 public class NamePrimaryKeyFactoryImpl
29        implements org.omg.CORBA.portable.ValueFactory JavaDoc
30 {
31     // ==================================================================
32
//
33
// Internal State.
34
//
35
// ===================================================================
36

37     // ==================================================================
38
//
39
// Constructor.
40
//
41
// ===================================================================
42

43     // ==================================================================
44
//
45
// Methods for the org.omg.CORBA.portable.ValueFactory interface.
46
//
47
// ==================================================================
48

49     /**
50      ** To read an NamePrimaryKeyImpl on a CORBA stream.
51      **/

52     public java.io.Serializable JavaDoc
53     read_value(org.omg.CORBA_2_3.portable.InputStream JavaDoc in)
54     {
55         java.io.Serializable JavaDoc v = new NamePrimaryKeyImpl();
56         return in.read_value(v);
57     }
58      
59     // ==================================================================
60
//
61
// Public static methods.
62
//
63
// ==================================================================
64

65     /**
66      ** Register the valuetype factory to the ORB.
67      **/

68     public static void
69     register()
70     {
71         NamePrimaryKeyFactoryHelper.register(new NamePrimaryKeyFactoryImpl());
72     }
73 }
74
Popular Tags