FileDocCategorySizeDatePackage
IdAssignmentPolicyValue.javaAPI DocJava SE 6 API1774Tue Jun 10 01:33:16 BST 2008org.omg.PortableServer

IdAssignmentPolicyValue

public class IdAssignmentPolicyValue extends Object implements org.omg.CORBA.portable.IDLEntity
The IdAssignmentPolicyValue can have the following values. USER_ID - Objects created with that POA are assigned Object Ids only by the application. SYSTEM_ID - Objects created with that POA are assigned Object Ids only by the POA. If the POA also has the PERSISTENT policy, assigned Object Ids must be unique across all instantiations of the same POA.

Fields Summary
private int
__value
private static int
__size
private static IdAssignmentPolicyValue[]
__array
public static final int
_USER_ID
public static final IdAssignmentPolicyValue
USER_ID
public static final int
_SYSTEM_ID
public static final IdAssignmentPolicyValue
SYSTEM_ID
Constructors Summary
protected IdAssignmentPolicyValue(int value)

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

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


     
  
    return __value;