KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > IRObjectOperations


1 /*
2  * @(#)IRObjectOperations.java 1.13 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package org.omg.CORBA;
8
9
10 /**
11 * The interface for <tt>IRObject</tt>. For more information on
12 * Operations interfaces, see <a HREF="doc-files/generatedfiles.html#operations">
13 * "Generated Files: Operations files"</a>.
14 */

15
16 /*
17  tempout/org/omg/CORBA/IRObjectOperations.java
18  Generated by the IBM IDL-to-Java compiler, version 1.0
19  from ../../Lib/ir.idl
20  Thursday, February 25, 1999 2:11:21 o'clock PM PST
21 */

22
23 /**
24  * This is the Operations interface for the mapping from <tt>IRObject</tt>.
25  * Several interfaces are used as base interfaces for objects in
26  * the Interface Repository (IR). These base interfaces are not instantiable.
27  * A common set of operations is used to locate objects within the
28  * Interface Repository. Some of these operations are defined in
29  * the IRObject. All IR objects inherit from the IRObject interface,
30  * which provides an operation for identifying the actual type of
31  * the object. (The IDL base interface IRObject represents the most
32  * generic interface from which all other Interface Repository interfaces
33  * are derived, even the Repository itself.) All java implementations of
34  * IR objects must implement the IRObjectOperations interface.
35  * @see IDLTypeOperations
36  * @see IDLType
37  * @see IRObject
38  */

39 public interface IRObjectOperations
40 {
41
42     // read interface
43
/**
44      * Returns the <code>DefinitionKind</code> corresponding to this Interface Repository object.
45      * @return the <code>DefinitionKind</code> corresponding to this Interface Repository object.
46      */

47     org.omg.CORBA.DefinitionKind JavaDoc def_kind ();
48
49     // write interface
50
/**
51      * Destroys this object. If the object is a Container,
52      * this method is applied to all its contents. If the object contains an IDLType
53      * attribute for an anonymous type, that IDLType is destroyed.
54      * If the object is currently contained in some other object, it is removed.
55      * If the method is invoked on a <code>Repository</code> or on a <code>PrimitiveDef</code>
56      * then the <code>BAD_INV_ORDER</code> exception is raised with minor value 2.
57      * An attempt to destroy an object that would leave the repository in an
58      * incoherent state causes <code>BAD_INV_ORDER</code> exception to be raised
59      * with the minor code 1.
60      * @exception BAD_INV_ORDER if this method is invoked on a repository or
61      * <code>PrimitiveDef</code>, or if an attempt to destroy an
62      * object would leave the repository in an incoherent state
63      */

64     void destroy ();
65 } // interface IRObjectOperations
66
Popular Tags