Java Platform 1.2
Beta 4

Class org.omg.CORBA.CompletionStatus

java.lang.Object
  |
  +--org.omg.CORBA.CompletionStatus

public final class CompletionStatus
extends Object
An object that indicates whether a method had completed running when a SystemException was thrown.

The class CompletionStatus contains three CompletionStatus instances, which are constants representing each possible completion status: COMPLETED_MAYBE, COMPLETED_NO, and COMPLETED_YES. It also contains three int members, each a constant corresponding to one of the CompletionStatus instances. These int members make it possible to use a switch statement.

The class also contains two methods:

Since:
JDK1.2
See Also:
SystemException

Field Summary
static int _COMPLETED_MAYBE
           
static int _COMPLETED_NO
           
static int _COMPLETED_YES
           
static CompletionStatus COMPLETED_MAYBE
           
static CompletionStatus COMPLETED_NO
           
static CompletionStatus COMPLETED_YES
           
 
Method Summary
static CompletionStatus from_int(int i)
          Creates a CompletionStatus object from the given int.
 int value()
          Retrieves the value of this CompletionStatus object.
 
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
 

Field Detail

_COMPLETED_YES

public static final int _COMPLETED_YES

_COMPLETED_NO

public static final int _COMPLETED_NO

_COMPLETED_MAYBE

public static final int _COMPLETED_MAYBE

COMPLETED_YES

public static final CompletionStatus COMPLETED_YES

COMPLETED_NO

public static final CompletionStatus COMPLETED_NO

COMPLETED_MAYBE

public static final CompletionStatus COMPLETED_MAYBE
Method Detail

value

public int value()
Retrieves the value of this CompletionStatus object.
Returns:
one of the possible CompletionStatus values: _COMPLETED_YES, _COMPLETED_NO, or _COMPLETED_MAYBE

from_int

public static final CompletionStatus from_int(int i)
                                       throws BAD_PARAM
Creates a CompletionStatus object from the given int.
Parameters:
i - one of _COMPLETED_YES, _COMPLETED_NO, or _COMPLETED_MAYBE
Throws:
BAD_PARAM - if the argument given is not one of the int constants defined in CompletionStatus

Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.