Thu, 11 Jul 2019 00:03:18 +0100
Added tag jdk8u222-b10 for changeset d44170c2cece
1 /*
2 * Copyright (c) 1998, 2004, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
27 package org.omg.CORBA;
29 /**
30 * The representation of a <code>DynAny</code> object that is associated
31 * with an IDL struct.
32 * @deprecated Use the new <a href="../DynamicAny/DynStruct.html">DynStruct</a> instead
33 */
34 @Deprecated
35 public interface DynStruct extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
36 {
37 /**
38 * During a traversal, returns the name of the current member.
39 *
40 * @return the string name of the current member
41 */
42 public String current_member_name();
44 /**
45 * Returns the <code>TCKind</code> object that describes the kind of
46 * the current member.
47 *
48 * @return the <code>TCKind</code> object that describes the current member
49 */
50 public org.omg.CORBA.TCKind current_member_kind();
52 /**
53 * Returns an array containing all the members of the stored struct.
54 *
55 * @return the array of name-value pairs
56 * @see #set_members
57 */
58 public org.omg.CORBA.NameValuePair[] get_members();
60 /**
61 * Set the members of the struct.
62 *
63 * @param value the array of name-value pairs.
64 * @throws org.omg.CORBA.DynAnyPackage.InvalidSeq if the given argument
65 * is invalid
66 * @see #get_members
67 */
68 public void set_members(org.omg.CORBA.NameValuePair[] value)
69 throws org.omg.CORBA.DynAnyPackage.InvalidSeq;
70 }