FileDocCategorySizeDatePackage
BindingType.javaAPI DocJava SE 5 API1326Fri Aug 26 17:25:12 BST 2005org.omg.CosNaming

BindingType

public class BindingType extends Object implements org.omg.CORBA.portable.IDLEntity
Specifies whether the given binding is for a object (that is not a naming context) or for a naming context.

Fields Summary
private int
__value
private static int
__size
private static BindingType[]
__array
public static final int
_nobject
public static final BindingType
nobject
public static final int
_ncontext
public static final BindingType
ncontext
Constructors Summary
protected BindingType(int value)

    __value = value;
    __array[__value] = this;
  
Methods Summary
public static org.omg.CosNaming.BindingTypefrom_int(int value)

    if (value >= 0 && value < __size)
      return __array[value];
    else
      throw new org.omg.CORBA.BAD_PARAM ();
  
public intvalue()


     
  
    return __value;