org.omg.CORBA
Class AttributeMode

java.lang.Object
  extended byorg.omg.CORBA.AttributeMode
All Implemented Interfaces:
IDLEntity, java.io.Serializable

public final class AttributeMode
extends java.lang.Object
implements IDLEntity

This enumeration describes an attribute mode which can be "normal" or "readonly".

See Also:
Serialized Form

Field Summary
static int _ATTR_NORMAL
          Enum member ATTR_NORMAL value
static int _ATTR_READONLY
          Enum member ATTR_READONLY value
static AttributeMode ATTR_NORMAL
          Enum member ATTR_NORMAL
static AttributeMode ATTR_READONLY
          Enum member ATTR_READONLY
 
Method Summary
static AttributeMode from_int(int value)
          Return a enum member from its value.
 java.lang.Object readResolve()
          Maintains singleton property for serialized enums.
 java.lang.String toString()
          Return a string representation
 int value()
          Return the internal member value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_ATTR_NORMAL

public static final int _ATTR_NORMAL
Enum member ATTR_NORMAL value

See Also:
Constant Field Values

ATTR_NORMAL

public static final AttributeMode ATTR_NORMAL
Enum member ATTR_NORMAL


_ATTR_READONLY

public static final int _ATTR_READONLY
Enum member ATTR_READONLY value

See Also:
Constant Field Values

ATTR_READONLY

public static final AttributeMode ATTR_READONLY
Enum member ATTR_READONLY

Method Detail

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
Maintains singleton property for serialized enums. Issue 4271: IDL/Java issue, Mapping for IDL enum.

Throws:
java.io.ObjectStreamException

value

public int value()
Return the internal member value

Returns:
the member value

from_int

public static AttributeMode from_int(int value)
Return a enum member from its value.

Parameters:
value - An enum value
Returns:
An enum member

toString

public java.lang.String toString()
Return a string representation

Returns:
a string representation of the enumeration