org.omg.CORBA

Class SetOverrideType

public class SetOverrideType extends Object implements Serializable, IDLEntity

Defines the instruction, how the newly specified policies can be taken into consideration. The policies can be either added to the current policies or replace them.
Field Summary
static SetOverrideTypeADD_OVERRIDE
Add the new policies to the existing policies.
static SetOverrideTypeSET_OVERRIDE
Replace the new existing policies by the new policies.
static int_ADD_OVERRIDE
Add the new policies to the existing policies.
static int_SET_OVERRIDE
Replace the new existing policies by the new policies.
Constructor Summary
protected SetOverrideType(int a_value)
No other instances can be created.
Method Summary
static SetOverrideTypefrom_int(int kind)
Returns the SetOverrideType, matching the given integer constant
StringtoString()
Returns a short string representation.
intvalue()
Returns the value, representing stored instruction.

Field Detail

ADD_OVERRIDE

public static final SetOverrideType ADD_OVERRIDE
Add the new policies to the existing policies. An instance of SetOverrideType, initialized to _ADD_OVERRIDE.

SET_OVERRIDE

public static final SetOverrideType SET_OVERRIDE
Replace the new existing policies by the new policies. An instance of SetOverrideType, initialized to _SET_OVERRIDE.

_ADD_OVERRIDE

public static final int _ADD_OVERRIDE
Add the new policies to the existing policies.

_SET_OVERRIDE

public static final int _SET_OVERRIDE
Replace the new existing policies by the new policies.

Constructor Detail

SetOverrideType

protected SetOverrideType(int a_value)
No other instances can be created.

Method Detail

from_int

public static SetOverrideType from_int(int kind)
Returns the SetOverrideType, matching the given integer constant

Parameters: kind one of _ADD_OVERRIDE or _SET_OVERRIDE.

Returns: one of ADD_OVERRIDE or SET_OVERRIDE.

Throws: BAD_PARAM if the parameter is not one of these two values.

toString

public String toString()
Returns a short string representation.

Returns: either "add" or "replace".

value

public int value()
Returns the value, representing stored instruction.

Returns: one of ADD_OVERRIDE or SET_OVERRIDE