1. /*
  2. * @(#)DynFixed.java 1.9 00/02/02
  3. *
  4. * Copyright 1998-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package org.omg.CORBA;
  11. /**
  12. * Represents a <code>DynAny</code> object that is associated
  13. * with an IDL fixed type.
  14. */
  15. public interface DynFixed extends org.omg.CORBA.Object, org.omg.CORBA.DynAny
  16. {
  17. /**
  18. * Returns the value of the fixed type represented in this
  19. * <code>DynFixed</code> object.
  20. *
  21. * @return the value as a byte array
  22. * @see #set_value
  23. */
  24. public byte[] get_value();
  25. /**
  26. * Sets the given fixed type instance as the value for this
  27. * <code>DynFixed</code> object.
  28. *
  29. * @param val the value of the fixed type as a byte array
  30. * @throws org.omg.CORBA.DynAnyPackage.InvalidValue if the given
  31. * argument is bad
  32. * @see #get_value
  33. */
  34. public void set_value(byte[] val)
  35. throws org.omg.CORBA.DynAnyPackage.InvalidValue;
  36. }