org.dmtf.schemas.ovf.envelope
Enum StopActionTypes

java.lang.Object
  extended by java.lang.Enum<StopActionTypes>
      extended by org.dmtf.schemas.ovf.envelope.StopActionTypes
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StopActionTypes>, Enumerator

public enum StopActionTypes
extends java.lang.Enum<StopActionTypes>
implements Enumerator

A representation of the literals of the enumeration 'Stop Action Types', and utility methods for working with them.

See Also:
EnvelopePackage.getStopActionTypes()

Enum Constant Summary
GUEST_SHUTDOWN_TYPE
          The 'Guest Shutdown Type' literal object.
NONE_TYPE
          The 'None Type' literal object.
POWER_OFF_TYPE
          The 'Power Off Type' literal object.
 
Field Summary
static int GUEST_SHUTDOWN_TYPE_VALUE
          The 'Guest Shutdown Type' literal value.
static int NONE_TYPE_VALUE
          The 'None Type' literal value.
static int POWER_OFF_TYPE_VALUE
          The 'Power Off Type' literal value.
static java.util.List<StopActionTypes> VALUES
          A public read-only list of all the 'Stop Action Types' enumerators.
 
Method Summary
static StopActionTypes get(int value)
          Returns the 'Stop Action Types' literal with the specified integer value.
static StopActionTypes get(java.lang.String literal)
          Returns the 'Stop Action Types' literal with the specified literal value.
static StopActionTypes getByName(java.lang.String name)
          Returns the 'Stop Action Types' literal with the specified name.
 java.lang.String getLiteral()
           
 java.lang.String getName()
           
 int getValue()
           
 java.lang.String toString()
          Returns the literal value of the enumerator, which is its string representation.
static StopActionTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StopActionTypes[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

POWER_OFF_TYPE

public static final StopActionTypes POWER_OFF_TYPE
The 'Power Off Type' literal object.

See Also:
POWER_OFF_TYPE_VALUE

GUEST_SHUTDOWN_TYPE

public static final StopActionTypes GUEST_SHUTDOWN_TYPE
The 'Guest Shutdown Type' literal object.

See Also:
GUEST_SHUTDOWN_TYPE_VALUE

NONE_TYPE

public static final StopActionTypes NONE_TYPE
The 'None Type' literal object.

See Also:
NONE_TYPE_VALUE
Field Detail

POWER_OFF_TYPE_VALUE

public static final int POWER_OFF_TYPE_VALUE
The 'Power Off Type' literal value.

If the meaning of 'Power Off Type' literal object isn't clear, there really should be more of a description here...

See Also:
POWER_OFF_TYPE, Constant Field Values

GUEST_SHUTDOWN_TYPE_VALUE

public static final int GUEST_SHUTDOWN_TYPE_VALUE
The 'Guest Shutdown Type' literal value.

If the meaning of 'Guest Shutdown Type' literal object isn't clear, there really should be more of a description here...

See Also:
GUEST_SHUTDOWN_TYPE, Constant Field Values

NONE_TYPE_VALUE

public static final int NONE_TYPE_VALUE
The 'None Type' literal value.

If the meaning of 'None Type' literal object isn't clear, there really should be more of a description here...

See Also:
NONE_TYPE, Constant Field Values

VALUES

public static final java.util.List<StopActionTypes> VALUES
A public read-only list of all the 'Stop Action Types' enumerators.

Method Detail

values

public static final StopActionTypes[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(StopActionTypes c : StopActionTypes.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static StopActionTypes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static StopActionTypes get(java.lang.String literal)
Returns the 'Stop Action Types' literal with the specified literal value.


getByName

public static StopActionTypes getByName(java.lang.String name)
Returns the 'Stop Action Types' literal with the specified name.


get

public static StopActionTypes get(int value)
Returns the 'Stop Action Types' literal with the specified integer value.


getValue

public int getValue()

Specified by:
getValue in interface Enumerator

getName

public java.lang.String getName()

Specified by:
getName in interface Enumerator

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface Enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<StopActionTypes>


© Copyright 2008 IBM Corp. 2008 All Rights Reserved