KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > DynStruct


1 /*
2  * @(#)DynStruct.java 1.14 04/05/18
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8
9 package org.omg.CORBA;
10
11 /**
12  * The representation of a <code>DynAny</code> object that is associated
13  * with an IDL struct.
14  * @deprecated Use the new <a HREF="../DynamicAny/DynStruct.html">DynStruct</a> instead
15  */

16 @Deprecated JavaDoc
17 public interface DynStruct extends org.omg.CORBA.Object JavaDoc, org.omg.CORBA.DynAny JavaDoc
18 {
19     /**
20      * During a traversal, returns the name of the current member.
21      *
22      * @return the string name of the current member
23      */

24     public String JavaDoc current_member_name();
25
26     /**
27      * Returns the <code>TCKind</code> object that describes the kind of
28      * the current member.
29      *
30      * @return the <code>TCKind</code> object that describes the current member
31      */

32     public org.omg.CORBA.TCKind JavaDoc current_member_kind();
33
34     /**
35      * Returns an array containing all the members of the stored struct.
36      *
37      * @return the array of name-value pairs
38      * @see #set_members
39      */

40     public org.omg.CORBA.NameValuePair JavaDoc[] get_members();
41
42     /**
43      * Set the members of the struct.
44      *
45      * @param value the array of name-value pairs.
46      * @throws org.omg.CORBA.DynAnyPackage.InvalidSeq if the given argument
47      * is invalid
48      * @see #get_members
49      */

50     public void set_members(org.omg.CORBA.NameValuePair JavaDoc[] value)
51         throws org.omg.CORBA.DynAnyPackage.InvalidSeq JavaDoc;
52 }
53
Popular Tags