1. /*
  2. * @(#)NotFoundHolder.java 1.10 00/02/02
  3. *
  4. * Copyright 1997-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. /*
  11. * File: ./org/omg/CosNaming/NamingContextPackage/NotFoundHolder.java
  12. * From: nameservice.idl
  13. * Date: Tue Aug 11 03:12:09 1998
  14. * By: idltojava Java IDL 1.2 Aug 11 1998 02:00:18
  15. */
  16. package org.omg.CosNaming.NamingContextPackage;
  17. public final class NotFoundHolder
  18. implements org.omg.CORBA.portable.Streamable{
  19. // instance variable
  20. public org.omg.CosNaming.NamingContextPackage.NotFound value;
  21. // constructors
  22. public NotFoundHolder() {
  23. this(null);
  24. }
  25. public NotFoundHolder(org.omg.CosNaming.NamingContextPackage.NotFound __arg) {
  26. value = __arg;
  27. }
  28. public void _write(org.omg.CORBA.portable.OutputStream out) {
  29. org.omg.CosNaming.NamingContextPackage.NotFoundHelper.write(out, value);
  30. }
  31. public void _read(org.omg.CORBA.portable.InputStream in) {
  32. value = org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(in);
  33. }
  34. public org.omg.CORBA.TypeCode _type() {
  35. return org.omg.CosNaming.NamingContextPackage.NotFoundHelper.type();
  36. }
  37. }