1. /*
  2. * @(#)PolicyOperations.java 1.5 00/02/02
  3. *
  4. * Copyright 1999, 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. * org/omg/CORBA/PolicyOperations.java
  13. * Generated by the IDL-to-Java compiler (portable), version "3.0"
  14. * from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
  15. * Saturday, July 17, 1999 12:26:20 AM PDT
  16. */
  17. public interface PolicyOperations
  18. {
  19. /** Return the constant value that corresponds to the
  20. * type of the policy object. The values of
  21. * the polivy objectys are allocated by the OMG.
  22. * New values for PolicyType should be obtained from the OMG by
  23. * sending mail to request@omg.org. In general the constant
  24. * values that are allocated are defined in conjunction with
  25. * the definition of the corresponding policy object.
  26. * @return the constant value that corresponds to the type of
  27. * the policy object.
  28. */
  29. int policy_type ();
  30. /** Copies the policy object. The copy does not retain any
  31. * relationships that the policy had with any domain or object.
  32. * @return the copy of the policy object.
  33. */
  34. org.omg.CORBA.Policy copy ();
  35. /** Destroys the policy object. It is the responsibility of
  36. * the policy object to determine whether it can be destroyed.
  37. */
  38. void destroy ();
  39. } // interface PolicyOperations