/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* The Stub for <tt>Policy</tt>. For more information on
* Stub files, see <a href="doc-files/generatedfiles.html#stub">
* "Generated Files: Stubs"</a>.<P>
* Generated by the IDL-to-Java compiler (portable), version "3.0"
* Saturday, July 17, 1999 12:26:20 AM PDT
*/
{
/** Constructors
* NOTE: If the default constructor is used, the
* object is useless until _set_delegate (...)
* is called.
*/
public _PolicyStub ()
{
super ();
}
/** Constructs a <code>_PolicyStub</code> object initialized
* with the given <code>Delegate</code> object.
*
* @param delegate a Delegate Object
*/
{
super ();
}
/** Returns the constant value that corresponds to the
* type of the policy object. The values of
* the polivy objectys are allocated by the OMG.
* New values for PolicyType should be obtained from the OMG by
* sending mail to request@omg.org. In general the constant
* values that are allocated are defined in conjunction with
* the definition of the corresponding policy object.
* @return the constant value that corresponds to the type of
* the policy object.
*/
public int policy_type ()
{
try {
return __result;
return policy_type ();
} finally {
_releaseReply (_in);
}
} // policy_type
/** Copies the policy object. The copy does not retain any
* relationships that the policy had with any domain or object.
* @return the copy of the policy object.
*/
{
try {
return __result;
return copy ();
} finally {
_releaseReply (_in);
}
} // copy
/** Destroys the policy object. It is the responsibility of
* the policy object to determine whether it can be destroyed.
*/
public void destroy ()
{
try {
destroy ();
} finally {
_releaseReply (_in);
}
} // destroy
// Type-specific CORBA::Object operations
{
}
{
try
{
org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
}
{
try
{
}
} // class _PolicyStub