org.dmtf.schemas.ovf.envelope
Enum CompressionTypes

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

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

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

See Also:
EnvelopePackage.getCompressionTypes()

Enum Constant Summary
GZIPTYPE
          The 'Gziptype' literal object.
IDENTITYTYPE
          The 'Identitytype' literal object.
 
Field Summary
static int GZIPTYPE_VALUE
          The 'Gziptype' literal value.
static int IDENTITYTYPE_VALUE
          The 'Identitytype' literal value.
static java.util.List<CompressionTypes> VALUES
          A public read-only list of all the 'Compression Types' enumerators.
 
Method Summary
static CompressionTypes get(int value)
          Returns the 'Compression Types' literal with the specified integer value.
static CompressionTypes get(java.lang.String literal)
          Returns the 'Compression Types' literal with the specified literal value.
static CompressionTypes getByName(java.lang.String name)
          Returns the 'Compression 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 CompressionTypes valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CompressionTypes[] 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

IDENTITYTYPE

public static final CompressionTypes IDENTITYTYPE
The 'Identitytype' literal object.

See Also:
IDENTITYTYPE_VALUE

GZIPTYPE

public static final CompressionTypes GZIPTYPE
The 'Gziptype' literal object.

See Also:
GZIPTYPE_VALUE
Field Detail

IDENTITYTYPE_VALUE

public static final int IDENTITYTYPE_VALUE
The 'Identitytype' literal value.

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

See Also:
IDENTITYTYPE, Constant Field Values

GZIPTYPE_VALUE

public static final int GZIPTYPE_VALUE
The 'Gziptype' literal value.

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

See Also:
GZIPTYPE, Constant Field Values

VALUES

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

Method Detail

values

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

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

valueOf

public static CompressionTypes 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 CompressionTypes get(java.lang.String literal)
Returns the 'Compression Types' literal with the specified literal value.


getByName

public static CompressionTypes getByName(java.lang.String name)
Returns the 'Compression Types' literal with the specified name.


get

public static CompressionTypes get(int value)
Returns the 'Compression 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<CompressionTypes>


© Copyright 2008 IBM Corp. 2008 All Rights Reserved