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