|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.PortableServer.IdAssignmentPolicyValue
public class IdAssignmentPolicyValue
Specifies the Object Id assignment policy.
| Field Summary | |
|---|---|
static int |
_SYSTEM_ID
The possible value of this enumeration (SYSTEM_ID),. |
static int |
_USER_ID
The possible value of this enumeration (USER_ID). |
static IdAssignmentPolicyValue |
SYSTEM_ID
An instance of IdAssignmentPolicyValue, initialized to SYSTEM_ID, indicating, that the objects created with that POA obtain they Object Ids from POA. |
static IdAssignmentPolicyValue |
USER_ID
An instance of IdAssignmentPolicyValue, initialized to USER_ID. |
| Constructor Summary | |
|---|---|
protected |
IdAssignmentPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected. |
| Method Summary | |
|---|---|
static IdAssignmentPolicyValue |
from_int(int code)
Returns the IdAssignmentPolicyValue, matching the given integer constant. |
String |
toString()
Returns a short string representation. |
int |
value()
Returns the integer code of the policy value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int _USER_ID
public static final IdAssignmentPolicyValue USER_ID
public static final int _SYSTEM_ID
public static final IdAssignmentPolicyValue SYSTEM_ID
| Constructor Detail |
|---|
protected IdAssignmentPolicyValue(int a_value)
| Method Detail |
|---|
public static IdAssignmentPolicyValue from_int(int code)
code - one of _USER_ID, _SYSTEM_ID.
BAD_PARAM - if the parameter is not one of the valid values.public String toString()
toString in class ObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)public int value()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||