org.omg.PortableServer
Class ImplicitActivationPolicyValue

java.lang.Object
  extended by org.omg.PortableServer.ImplicitActivationPolicyValue
All Implemented Interfaces:
Serializable, IDLEntity

public class ImplicitActivationPolicyValue
extends Object
implements Serializable, IDLEntity

Specifies the implicit activation policy. This enumeration can obtain the following values:

See Also:
Serialized Form

Field Summary
static int _IMPLICIT_ACTIVATION
          The possible value of this enumeration (IMPLICIT_ACTIVATION).
static int _NO_IMPLICIT_ACTIVATION
          The possible value of this enumeration (NO_IMPLICIT_ACTIVATION).
static ImplicitActivationPolicyValue IMPLICIT_ACTIVATION
          An instance of ImplicitActivationPolicyValue, initialized to IMPLICIT_ACTIVATION.
static ImplicitActivationPolicyValue NO_IMPLICIT_ACTIVATION
          An instance of ImplicitActivationPolicyValue, initialized to NO_IMPLICIT_ACTIVATION.
 
Constructor Summary
protected ImplicitActivationPolicyValue(int a_value)
          Normally, no new instances are required, so the constructor is protected.
 
Method Summary
static ImplicitActivationPolicyValue from_int(int code)
          Returns the ImplicitActivationPolicyValue, matching the given integer constant.
 String toString()
          Returns a short string representation.
 int value()
          Returns the integer code of the policy value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_IMPLICIT_ACTIVATION

public static final int _IMPLICIT_ACTIVATION
The possible value of this enumeration (IMPLICIT_ACTIVATION).

See Also:
Constant Field Values

IMPLICIT_ACTIVATION

public static final ImplicitActivationPolicyValue IMPLICIT_ACTIVATION
An instance of ImplicitActivationPolicyValue, initialized to IMPLICIT_ACTIVATION.


_NO_IMPLICIT_ACTIVATION

public static final int _NO_IMPLICIT_ACTIVATION
The possible value of this enumeration (NO_IMPLICIT_ACTIVATION).

See Also:
Constant Field Values

NO_IMPLICIT_ACTIVATION

public static final ImplicitActivationPolicyValue NO_IMPLICIT_ACTIVATION
An instance of ImplicitActivationPolicyValue, initialized to NO_IMPLICIT_ACTIVATION.

Constructor Detail

ImplicitActivationPolicyValue

protected ImplicitActivationPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected.

Method Detail

from_int

public static ImplicitActivationPolicyValue from_int(int code)
Returns the ImplicitActivationPolicyValue, matching the given integer constant.

Parameters:
code - one of _IMPLICIT_ACTIVATION, _NO_IMPLICIT_ACTIVATION.
Returns:
one of IMPLICIT_ACTIVATION, NO_IMPLICIT_ACTIVATION.
Throws:
BAD_PARAM - if the parameter is not one of the valid values.

toString

public String toString()
Returns a short string representation.

Overrides:
toString in class Object
Returns:
the name of the current enumeration value.
See Also:
Object.getClass(), Object.hashCode(), Class.getName(), Integer.toHexString(int)

value

public int value()
Returns the integer code of the policy value.

Returns:
_IMPLICIT_ACTIVATION or _NO_IMPLICIT_ACTIVATION.