1 /* 2 * @(#)DynFixed.java 1.15 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 * Represents a <code>DynAny</code> object that is associated 13 * with an IDL fixed type. 14 * @deprecated Use the new <a HREF="../DynamicAny/DynFixed.html">DynFixed</a> instead 15 */ 16 @Deprecated 17 public interface DynFixed extends org.omg.CORBA.Object, org.omg.CORBA.DynAny 18 { 19 /** 20 * Returns the value of the fixed type represented in this 21 * <code>DynFixed</code> object. 22 * 23 * @return the value as a byte array 24 * @see #set_value 25 */ 26 public byte[] get_value(); 27 28 /** 29 * Sets the given fixed type instance as the value for this 30 * <code>DynFixed</code> object. 31 * 32 * @param val the value of the fixed type as a byte array 33 * @throws org.omg.CORBA.DynAnyPackage.InvalidValue if the given 34 * argument is bad 35 * @see #get_value 36 */ 37 public void set_value(byte[] val) 38 throws org.omg.CORBA.DynAnyPackage.InvalidValue; 39 } 40