org.omg.PortableServer

Class ImplicitActivationPolicyValue

public class ImplicitActivationPolicyValue extends Object implements Serializable, IDLEntity

Specifies the implicit activation policy. This enumeration can obtain the following values:
Field Summary
static ImplicitActivationPolicyValueIMPLICIT_ACTIVATION
An instance of ImplicitActivationPolicyValue, initialized to IMPLICIT_ACTIVATION.
static ImplicitActivationPolicyValueNO_IMPLICIT_ACTIVATION
An instance of ImplicitActivationPolicyValue, initialized to NO_IMPLICIT_ACTIVATION.
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).
Constructor Summary
protected ImplicitActivationPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected.
Method Summary
static ImplicitActivationPolicyValuefrom_int(int code)
Returns the ImplicitActivationPolicyValue, matching the given integer constant.
StringtoString()
Returns a short string representation.
intvalue()
Returns the integer code of the policy value.

Field Detail

IMPLICIT_ACTIVATION

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

NO_IMPLICIT_ACTIVATION

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

_IMPLICIT_ACTIVATION

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

_NO_IMPLICIT_ACTIVATION

public static final int _NO_IMPLICIT_ACTIVATION
The possible value of this enumeration (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.

Returns: the name of the current enumeration value.

value

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

Returns: _IMPLICIT_ACTIVATION or _NO_IMPLICIT_ACTIVATION.