KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*====================================================================
2
3 Copyright (C) 2002 INTRACOM/COACH Project
4 Contact: fset@intracom.gr
5
6 Initial developer(s): Fofy Setaki.
7 Contributor(s): ______________________________________.
8
9 ====================================================================*/

10
11 package ist.coach.coachEmfCommon;
12 import intt.itu.itut_x780.*;
13
14 /**
15  * This is the implementation of the OMG IDL3
16  * itut_x780Components::CreateErrorInfoType valuetype.
17  */

18
19 public class CreateErrorInfoTypeImpl
20 extends CreateErrorInfoType {
21
22     // ==================================================================
23
//
24
// Constructor.
25
//
26
// ==================================================================
27

28     /** The default constructor. */
29     public CreateErrorInfoTypeImpl() {
30
31         this.error = new UIDType();
32         this.details = new String JavaDoc();
33         this.relatedObjects = new org.omg.CosNaming.NameComponent JavaDoc[0][0];
34         this.attributeList = new intt.itu.itut_x780.AttributeValueType[0];
35     }
36     
37     /**
38      * The constructor.
39      *
40      * @param source Object emitting notification.
41      * @param sourceClass Actual class of source object.
42      */

43     public CreateErrorInfoTypeImpl(UIDType error,
44                             String JavaDoc details) {
45         
46         this.error = error;
47         this.details = details;
48         this.relatedObjects = new org.omg.CosNaming.NameComponent JavaDoc[0][0];
49         this.attributeList = new intt.itu.itut_x780.AttributeValueType[0];
50     }
51
52     public CreateErrorInfoTypeImpl(UIDType error,
53                 String JavaDoc details,
54                 org.omg.CosNaming.NameComponent JavaDoc[][] relatedObjects,
55                 intt.itu.itut_x780.AttributeValueType[] attributeList) {
56
57         this.error = error;
58         this.details = details;
59         this.relatedObjects = relatedObjects;
60         this.attributeList = attributeList;
61     }
62 }
63
64
65
Popular Tags