KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmfCommon > NamePrimaryKeyFactory


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.coachEmfCommon;
23 import ist.coach.coachEmfServicesComponents.NamePrimaryKeyFactoryHelper;
24  
25 /**
26  ** Implementation skeleton class for the ::coachEmfServicesComponents::NamePrimaryKey value factory.
27  ** Business operations MUST be completed !!!
28  **/

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

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

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

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

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

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

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