org.omg.uml.foundation.datatypes
Class PseudostateKindEnum

java.lang.Object
  extended byorg.omg.uml.foundation.datatypes.PseudostateKindEnum
All Implemented Interfaces:
PseudostateKind, javax.jmi.reflect.RefEnum, Serializable

public final class PseudostateKindEnum
extends Object
implements PseudostateKind

PseudostateKind enumeration class implementation.

See Also:
Serialized Form

Field Summary
private  String literalName
           
static PseudostateKindEnum PK_CHOICE
          Enumeration constant corresponding to literal pk_choice.
static PseudostateKindEnum PK_DEEP_HISTORY
          Enumeration constant corresponding to literal pk_deepHistory.
static PseudostateKindEnum PK_FORK
          Enumeration constant corresponding to literal pk_fork.
static PseudostateKindEnum PK_INITIAL
          Enumeration constant corresponding to literal pk_initial.
static PseudostateKindEnum PK_JOIN
          Enumeration constant corresponding to literal pk_join.
static PseudostateKindEnum PK_JUNCTION
          Enumeration constant corresponding to literal pk_junction.
static PseudostateKindEnum PK_SHALLOW_HISTORY
          Enumeration constant corresponding to literal pk_shallowHistory.
private static List typeName
           
 
Constructor Summary
private PseudostateKindEnum(String literalName)
           
 
Method Summary
 boolean equals(Object o)
          Indicates whether some other object is equal to this enumeration value.
static PseudostateKind forName(String name)
          Translates literal name to correspondent enumeration value.
 int hashCode()
          Returns a hash code for this the enumeration value.
protected  Object readResolve()
          Resolves serialized instance of enumeration value.
 List refTypeName()
          Returns fully qualified name of the enumeration type.
 String toString()
          Returns a string representation of the enumeration value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PK_CHOICE

public static final PseudostateKindEnum PK_CHOICE
Enumeration constant corresponding to literal pk_choice.


PK_DEEP_HISTORY

public static final PseudostateKindEnum PK_DEEP_HISTORY
Enumeration constant corresponding to literal pk_deepHistory.


PK_FORK

public static final PseudostateKindEnum PK_FORK
Enumeration constant corresponding to literal pk_fork.


PK_INITIAL

public static final PseudostateKindEnum PK_INITIAL
Enumeration constant corresponding to literal pk_initial.


PK_JOIN

public static final PseudostateKindEnum PK_JOIN
Enumeration constant corresponding to literal pk_join.


PK_JUNCTION

public static final PseudostateKindEnum PK_JUNCTION
Enumeration constant corresponding to literal pk_junction.


PK_SHALLOW_HISTORY

public static final PseudostateKindEnum PK_SHALLOW_HISTORY
Enumeration constant corresponding to literal pk_shallowHistory.


typeName

private static final List typeName

literalName

private final String literalName
Constructor Detail

PseudostateKindEnum

private PseudostateKindEnum(String literalName)
Method Detail

refTypeName

public List refTypeName()
Returns fully qualified name of the enumeration type.

Specified by:
refTypeName in interface javax.jmi.reflect.RefEnum
Returns:
List containing all parts of the fully qualified name.

toString

public String toString()
Returns a string representation of the enumeration value.

Specified by:
toString in interface javax.jmi.reflect.RefEnum
Returns:
A string representation of the enumeration value.

hashCode

public int hashCode()
Returns a hash code for this the enumeration value.

Specified by:
hashCode in interface javax.jmi.reflect.RefEnum
Returns:
A hash code for this enumeration value.

equals

public boolean equals(Object o)
Indicates whether some other object is equal to this enumeration value.

Specified by:
equals in interface javax.jmi.reflect.RefEnum
Parameters:
o - The reference object with which to compare.
Returns:
true if the other object is the enumeration of the same type and of the same value.

forName

public static PseudostateKind forName(String name)
Translates literal name to correspondent enumeration value.

Parameters:
name - Enumeration literal.
Returns:
Enumeration value corresponding to the passed literal.

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Resolves serialized instance of enumeration value.

Returns:
Resolved enumeration value.
Throws:
ObjectStreamException