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