1. /*
  2. * @(#)DynFixed.java 1.12 03/01/23
  3. *
  4. * Copyright 2003 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. */
  12. public interface DynFixed extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  13. {
  14. /**
  15. * Returns the value of the fixed type represented in this
  16. * <code>DynFixed</code> object.
  17. *
  18. * @return the value as a byte array
  19. * @see #set_value
  20. */
  21. public byte[] get_value();
  22. /**
  23. * Sets the given fixed type instance as the value for this
  24. * <code>DynFixed</code> object.
  25. *
  26. * @param val the value of the fixed type as a byte array
  27. * @throws org.omg.CORBA.DynAnyPackage.InvalidValue if the given
  28. * argument is bad
  29. * @see #get_value
  30. */
  31. public void set_value(byte[] val)
  32. throws org.omg.CORBA.DynAnyPackage.InvalidValue;
  33. }