|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.PortableServer.IdUniquenessPolicyValue
public class IdUniquenessPolicyValue
Specifies the Object Id uniqueness policy. This enumeration can obtain the following values:
| Field Summary | |
|---|---|
static int |
_MULTIPLE_ID
The possible value of this enumeration (MULTIPLE_ID). |
static int |
_UNIQUE_ID
The possible value of this enumeration (UNIQUE_ID). |
static IdUniquenessPolicyValue |
MULTIPLE_ID
Indicates that a servant activated with that POA is able to support the multiple Object Ids. |
static IdUniquenessPolicyValue |
UNIQUE_ID
Indicates that a servant activated with that POA, supports one and only one OBject Id. |
| Constructor Summary | |
|---|---|
protected |
IdUniquenessPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected. |
| Method Summary | |
|---|---|
static IdUniquenessPolicyValue |
from_int(int code)
Returns the IdUniquenessPolicyValue, 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 _UNIQUE_ID
public static final IdUniquenessPolicyValue UNIQUE_ID
public static final int _MULTIPLE_ID
public static final IdUniquenessPolicyValue MULTIPLE_ID
| Constructor Detail |
|---|
protected IdUniquenessPolicyValue(int a_value)
| Method Detail |
|---|
public static IdUniquenessPolicyValue from_int(int code)
code - one of _UNIQUE_ID, _MULTIPLE_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 | ||||||||