0N/A/*
157N/A * Copyright (c) 1999, 2001, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
157N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
157N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
157N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
157N/A * or visit www.oracle.com if you need additional information or have any
157N/A * questions.
0N/A */
0N/Apackage org.omg.CORBA;
0N/A
0N/A
0N/A/**
0N/A* The interface for <tt>Policy</tt>. For more information on
0N/A* Operations interfaces, see <a href="doc-files/generatedfiles.html#operations">
0N/A* "Generated Files: Operations files"</a>.
0N/A*<P>
0N/A* org/omg/CORBA/PolicyOperations.java
0N/A* Generated by the IDL-to-Java compiler (portable), version "3.0"
0N/A* from ../../../../../src/share/classes/org/omg/PortableServer/corba.idl
0N/A* Saturday, July 17, 1999 12:26:20 AM PDT
0N/A*/
0N/A
0N/A/**
0N/A * Provides the operations for a <code>Policy</code> object.
0N/A */
0N/Apublic interface PolicyOperations
0N/A{
0N/A
0N/A /**
0N/A * Returns the constant value that corresponds to the
0N/A * type of the policy object. The values of
0N/A * the policy objects are allocated by the OMG.
0N/A * New values for PolicyType should be obtained from the OMG by
0N/A * sending mail to request@omg.org. In general the constant
0N/A * values that are allocated are defined in conjunction with
0N/A * the definition of the corresponding policy object.
0N/A *
0N/A * @return the constant value that corresponds to the type of
0N/A * the policy object
0N/A */
0N/A int policy_type ();
0N/A
0N/A /**
0N/A * Returns a copy of the <code>Policy</code> object. The copy does not retain
0N/A * any relationships that the policy had with any domain or object.
0N/A *
0N/A * @return a copy of the <code>Policy</code> object
0N/A */
0N/A org.omg.CORBA.Policy copy ();
0N/A
0N/A /**
0N/A * Destroys the <code>Policy</code> object. It is the responsibility of
0N/A * the <code>Policy</code> object to determine whether it can be destroyed.
0N/A */
0N/A void destroy ();
0N/A} // interface PolicyOperations