org.dmtf.schemas.wscim.vssd
Enum ChangeableTypeTypeBase

java.lang.Object
  extended by java.lang.Enum<ChangeableTypeTypeBase>
      extended by org.dmtf.schemas.wscim.vssd.ChangeableTypeTypeBase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ChangeableTypeTypeBase>, Enumerator

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

A representation of the literals of the enumeration 'Changeable Type Type Base', and utility methods for working with them.

See Also:
VssdPackage.getChangeableTypeTypeBase()

Enum Constant Summary
_0
          The '0' literal object.
_1
          The '1' literal object.
_2
          The '2' literal object.
_3
          The '3' literal object.
 
Field Summary
static int _0_VALUE
          The '0' literal value.
static int _1_VALUE
          The '1' literal value.
static int _2_VALUE
          The '2' literal value.
static int _3_VALUE
          The '3' literal value.
static java.util.List<ChangeableTypeTypeBase> VALUES
          A public read-only list of all the 'Changeable Type Type Base' enumerators.
 
Method Summary
static ChangeableTypeTypeBase get(int value)
          Returns the 'Changeable Type Type Base' literal with the specified integer value.
static ChangeableTypeTypeBase get(java.lang.String literal)
          Returns the 'Changeable Type Type Base' literal with the specified literal value.
static ChangeableTypeTypeBase getByName(java.lang.String name)
          Returns the 'Changeable Type Type Base' 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 ChangeableTypeTypeBase valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ChangeableTypeTypeBase[] 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

_0

public static final ChangeableTypeTypeBase _0
The '0' literal object.

See Also:
_0_VALUE

_1

public static final ChangeableTypeTypeBase _1
The '1' literal object.

See Also:
_1_VALUE

_2

public static final ChangeableTypeTypeBase _2
The '2' literal object.

See Also:
_2_VALUE

_3

public static final ChangeableTypeTypeBase _3
The '3' literal object.

See Also:
_3_VALUE
Field Detail

_0_VALUE

public static final int _0_VALUE
The '0' literal value.

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

See Also:
_0, Constant Field Values

_1_VALUE

public static final int _1_VALUE
The '1' literal value.

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

See Also:
_1, Constant Field Values

_2_VALUE

public static final int _2_VALUE
The '2' literal value.

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

See Also:
_2, Constant Field Values

_3_VALUE

public static final int _3_VALUE
The '3' literal value.

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

See Also:
_3, Constant Field Values

VALUES

public static final java.util.List<ChangeableTypeTypeBase> VALUES
A public read-only list of all the 'Changeable Type Type Base' enumerators.

Method Detail

values

public static final ChangeableTypeTypeBase[] 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(ChangeableTypeTypeBase c : ChangeableTypeTypeBase.values())
        System.out.println(c);

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

valueOf

public static ChangeableTypeTypeBase 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 ChangeableTypeTypeBase get(java.lang.String literal)
Returns the 'Changeable Type Type Base' literal with the specified literal value.


getByName

public static ChangeableTypeTypeBase getByName(java.lang.String name)
Returns the 'Changeable Type Type Base' literal with the specified name.


get

public static ChangeableTypeTypeBase get(int value)
Returns the 'Changeable Type Type Base' 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<ChangeableTypeTypeBase>


© Copyright 2008 IBM Corp. 2008 All Rights Reserved