KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > ir > gui > typesystem > remote > IRWstring


1 package org.jacorb.ir.gui.typesystem.remote;
2
3 /*
4  * JacORB - a free Java ORB
5  *
6  * Copyright (C) 1997-2004 Gerald Brose.
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the Free
20  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */

22
23 import org.omg.CORBA.*;
24
25 /**
26  * @author Jerome Julius
27  * @version $Id: IRWstring.java,v 1.4 2004/05/06 12:39:59 nicolas Exp $
28  */

29
30 public class IRWstring
31     extends IRNode
32 {
33     int bound;
34
35    /**
36      * IRWstring constructor
37      */

38
39     protected IRWstring()
40     {
41     super();
42     }
43
44     /**
45      * IRWstring
46      * @param irObject org.omg.CORBA.IRObject
47      */

48
49     protected IRWstring( org.omg.CORBA.IRObject JavaDoc irObject )
50     {
51     super(irObject);
52     WstringDef wstringDef = WstringDefHelper.narrow(irObject);
53
54         bound = wstringDef.bound();
55
56         setName("wstring");
57         setAbsoluteName("wstring");
58     }
59
60     /**
61      * @return java.lang.String
62      */

63
64     public static String JavaDoc nodeTypeName()
65     {
66     return "wstring";
67     }
68
69     /**
70      * @return java.lang.String
71      */

72
73     public String JavaDoc description()
74     {
75     String JavaDoc result = "wstring\nbound:\t" + bound;
76     return result;
77     }
78
79 }
80
81
82
Popular Tags