This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


org.omg.CORBA
class SetOverrideType

java.lang.Object extended by org.omg.CORBA.SetOverrideType
All Implemented Interfaces:
IDLEntity

public class SetOverrideType
extends Object
implements IDLEntity

The mapping of a CORBA enum tagging SET_OVERRIDE and ADD_OVERRIDE, which indicate whether policies should replace the existing policies of an Object or be added to them.

The method {@link omg.org.CORBA.Object._set_policy_override} takes either SetOverrideType.SET_OVERRIDE or SetOverrideType.ADD_OVERRIDE as its second argument. The method _set_policy_override creates a new Object initialized with the Policy objects supplied as the first argument. If the second argument is ADD_OVERRIDE, the new policies are added to those of the Object instance that is calling the _set_policy_override method. If SET_OVERRIDE is given instead, the existing policies are replaced with the given ones.


Field Summary
static SetOverrideType ADD_OVERRIDE
          The SetOverrideType constant for the enum value ADD_OVERRIDE.
static SetOverrideType SET_OVERRIDE
          The SetOverrideType constant for the enum value SET_OVERRIDE.
static int _ADD_OVERRIDE
          The int constant for the enum value ADD_OVERRIDE.
static int _SET_OVERRIDE
          The int constant for the enum value SET_OVERRIDE.
 
Constructor Summary
protected
SetOverrideType(int _value)

          Constructs a SetOverrideType instance from an int.
 
Method Summary
static SetOverrideType
from_int(int i)

          Converts the given int to the corresponding SetOverrideType instance.
 int

          Retrieves the value of this SetOverrideType instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADD_OVERRIDE

public static final SetOverrideType ADD_OVERRIDE
The SetOverrideType constant for the enum value ADD_OVERRIDE.

SET_OVERRIDE

public static final SetOverrideType SET_OVERRIDE
The SetOverrideType constant for the enum value SET_OVERRIDE.

_ADD_OVERRIDE

public static final int _ADD_OVERRIDE
The int constant for the enum value ADD_OVERRIDE.

_SET_OVERRIDE

public static final int _SET_OVERRIDE
The int constant for the enum value SET_OVERRIDE.
Constructor Detail

SetOverrideType

protected SetOverrideType(int _value)
Constructs a SetOverrideType instance from an int.

Parameters:
_value - must be either SET_OVERRIDE or ADD_OVERRIDE
Method Detail

from_int

public static SetOverrideType from_int(int i)
Converts the given int to the corresponding SetOverrideType instance.

Parameters:
i - the int to convert; must be either SetOverrideType._SET_OVERRIDE or SetOverrideType._ADD_OVERRIDE
Returns:
the SetOverrideType instance whose value matches the given int

value

public int value()
Retrieves the value of this SetOverrideType instance.

Returns:
the int for this SetOverrideType instance.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.