1. package org.omg.DynamicAny;
  2. /**
  3. * org/omg/DynamicAny/DynFixedOperations.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.1"
  5. * from ../../../../src/share/classes/org/omg/DynamicAny/DynamicAny.idl
  6. * Monday, February 23, 2004 7:03:08 AM GMT
  7. */
  8. /**
  9. * DynFixed objects support the manipulation of IDL fixed values.
  10. * Because IDL does not have a generic type that can represent fixed types with arbitrary
  11. * number of digits and arbitrary scale, the operations use the IDL string type.
  12. */
  13. public interface DynFixedOperations extends org.omg.DynamicAny.DynAnyOperations
  14. {
  15. /**
  16. * Returns the value of a DynFixed.
  17. */
  18. String get_value ();
  19. /**
  20. * Sets the value of the DynFixed.
  21. * The val string must contain a fixed string constant in the same format as used for IDL fixed-point literals.
  22. * However, the trailing d or D is optional. The return value is true if val can be represented as the DynFixed
  23. * without loss of precision. If val has more fractional digits than can be represented in the DynFixed,
  24. * fractional digits are truncated and the return value is false.
  25. *
  26. * @exception TypeMismatch If val does not contain a valid fixed-point literal or contains extraneous
  27. * characters other than leading or trailing white space
  28. * @exception InvalidValue If val contains a value whose scale exceeds that of the DynFixed
  29. * or is not initialized
  30. */
  31. boolean set_value (String val) throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch, org.omg.DynamicAny.DynAnyPackage.InvalidValue;
  32. } // interface DynFixedOperations