KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)DynValue.java 1.18 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 package org.omg.CORBA;
9
10 /**
11  * The representation of a <code>DynAny</code> object that is associated
12  * with an IDL value type.
13  * @deprecated Use the new <a HREF="../DynamicAny/DynValue.html">DynValue</a> instead
14  */

15 @Deprecated JavaDoc
16 public interface DynValue extends org.omg.CORBA.Object JavaDoc, org.omg.CORBA.DynAny JavaDoc {
17
18     /**
19      * Returns the name of the current member while traversing a
20      * <code>DynAny</code> object that represents a Value object.
21      *
22      * @return the name of the current member
23      */

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

32     TCKind JavaDoc current_member_kind();
33
34     /**
35      * Returns an array containing all the members of the value object
36      * stored in this <code>DynValue</code>.
37      *
38      * @return an array of name-value pairs.
39      * @see #set_members
40      */

41     org.omg.CORBA.NameValuePair JavaDoc[] get_members();
42
43     /**
44      * Sets the members of the value object this <code>DynValue</code>
45      * object represents to the given array of <code>NameValuePair</code>
46      * objects.
47      *
48      * @param value the array of name-value pairs to be set
49      * @throws org.omg.CORBA.DynAnyPackage.InvalidSeq
50      * if an inconsistent value is part of the given array
51      * @see #get_members
52      */

53     void set_members(NameValuePair JavaDoc[] value)
54     throws org.omg.CORBA.DynAnyPackage.InvalidSeq JavaDoc;
55 }
56
Popular Tags