KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)DynSequence.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 sequence.
14  * @deprecated Use the new <a HREF="../DynamicAny/DynSequence.html">DynSequence</a> instead
15  */

16 @Deprecated JavaDoc
17 public interface DynSequence extends org.omg.CORBA.Object JavaDoc, org.omg.CORBA.DynAny JavaDoc
18 {
19
20     /**
21      * Returns the length of the sequence represented by this
22      * <code>DynFixed</code> object.
23      *
24      * @return the length of the sequence
25      */

26     public int length();
27
28     /**
29      * Sets the length of the sequence represented by this
30      * <code>DynFixed</code> object to the given argument.
31      *
32      * @param arg the length of the sequence
33      */

34     public void length(int arg);
35
36     /**
37      * Returns the value of every element in this sequence.
38      *
39      * @return an array of <code>Any</code> objects containing the values in
40      * the sequence
41      * @see #set_elements
42      */

43     public org.omg.CORBA.Any JavaDoc[] get_elements();
44
45     /**
46      * Sets the values of all elements in this sequence with the given
47      * array.
48      *
49      * @param value the array of <code>Any</code> objects to be set
50      * @exception InvalidSeq if the array of values is bad
51      * @see #get_elements
52      */

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