|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.omg.PortableServer.LifespanPolicyValue
public class LifespanPolicyValue
Specifies the object life span policy. This enumeration can obtain the following values:
| Field Summary | |
|---|---|
static int |
_PERSISTENT
The possible value of this enumeration (PERSISTENT). |
static int |
_TRANSIENT
The possible value of this enumeration (TRANSIENT). |
static LifespanPolicyValue |
PERSISTENT
An instance of LifespanPolicyValue, initialized to PERSISTENT. |
static LifespanPolicyValue |
TRANSIENT
An instance of LifespanPolicyValue, initialized to TRANSIENT. |
| Constructor Summary | |
|---|---|
protected |
LifespanPolicyValue(int a_value)
Normally, no new instances are required, so the constructor is protected. |
| Method Summary | |
|---|---|
static LifespanPolicyValue |
from_int(int code)
Returns the LifespanPolicyValue, 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 _TRANSIENT
public static final LifespanPolicyValue TRANSIENT
public static final int _PERSISTENT
public static final LifespanPolicyValue PERSISTENT
| Constructor Detail |
|---|
protected LifespanPolicyValue(int a_value)
| Method Detail |
|---|
public static LifespanPolicyValue from_int(int code)
code - one of _TRANSIENT, _PERSISTENT.
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 | ||||||||