1. /*
  2. * @(#)VM_TRUNCATABLE.java 1.9 03/12/19
  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. /** Defines the code used to represent a truncatable value type in
  9. * a typecode. A value type is truncatable if it inherits "safely"
  10. * from another value type, which means it can be cast to a more
  11. * general inherited type.
  12. * This is one of the possible results of the <code>type_modifier</code>
  13. * method on the <code>TypeCode</code> interface.
  14. * @see org.omg.CORBA.TypeCode
  15. * @version 1.9 12/19/03
  16. */
  17. public interface VM_TRUNCATABLE {
  18. /** The value representing a truncatable value type in
  19. * a typecode.
  20. */
  21. final short value = (short) (3L);
  22. }