KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*====================================================================
2
3 This file was produced by the OpenCCM CIF_JIMPL generator.
4
5 OpenCCM: The Open CORBA Component Model Platform
6 Copyright (C) 2000-2003 INRIA - USTL - LIFL - GOAL
7 Contact: openccm@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): Christophe Demarey.
25 Contributor(s): ______________________________________.
26
27 ====================================================================*/

28
29 package ist.coach.coachEmfCommon;
30 import ist.coach.coachEmfServicesComponents.LogNewRecord;
31 import org.omg.CosNaming.NameComponent JavaDoc;
32 import ist.coach.coachEmfServices.EmfBasicLog.LogSeverity;
33
34 import org.omg.TimeBase.UtcT;
35 /**
36  * Implementation skeleton class for the IDL:coach.ist/coachEmfServicesComponents/LogNewRecord:1.0 declaration.
37  *
38  * @author OpenCCM CIF_Jimpl Compiler.
39  */

40 public class LogNewRecordImpl
41      extends LogNewRecord
42 {
43     // ==================================================================
44
//
45
// Internal states.
46
//
47
// ==================================================================
48

49     // ==================================================================
50
//
51
// Constructors.
52
//
53
// ==================================================================
54

55     public LogNewRecordImpl()
56     {
57         eventTime = new org.omg.TimeBase.UtcT();
58         source = new NameComponent JavaDoc[0];
59         severity = LogSeverity.Info;
60         sourceClass = new String JavaDoc();
61         logRecordId = 0;
62         info = new String JavaDoc();
63     }
64
65     public LogNewRecordImpl(UtcT eventTime,
66                             LogSeverity severity,
67                             NameComponent JavaDoc[] source,
68                             String JavaDoc sourceClass,
69                             int logRecordId,
70                             String JavaDoc info) {
71
72         this.eventTime = eventTime;
73         this.severity = severity;
74         this.source = source;
75         this.sourceClass = sourceClass;
76         this.logRecordId = logRecordId;
77         this.info = info;
78     }
79
80     // ==================================================================
81
//
82
// Methods.
83
//
84
// ==================================================================
85

86 }
87
Popular Tags