org.pfsw.odem
Enum ContainerClassification

java.lang.Object
  extended by java.lang.Enum<ContainerClassification>
      extended by org.pfsw.odem.ContainerClassification
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContainerClassification>

public enum ContainerClassification
extends java.lang.Enum<ContainerClassification>

Specifies the currently container types

Version:
1.1
Author:
M.Duchrow

Enum Constant Summary
COMPONENT
           
FILESYSTEM_FOLDER
           
JAVA_ARCHIVE
           
NOT_FOUND
           
UNKNOWN
           
 
Method Summary
static ContainerClassification fromString(java.lang.String valueName)
          Returns the enum value with the given name.
 java.lang.String toString()
           
static ContainerClassification valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContainerClassification[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final ContainerClassification UNKNOWN

NOT_FOUND

public static final ContainerClassification NOT_FOUND

JAVA_ARCHIVE

public static final ContainerClassification JAVA_ARCHIVE

FILESYSTEM_FOLDER

public static final ContainerClassification FILESYSTEM_FOLDER

COMPONENT

public static final ContainerClassification COMPONENT
Method Detail

values

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

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

valueOf

public static ContainerClassification 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
java.lang.NullPointerException - if the argument is null

fromString

public static ContainerClassification fromString(java.lang.String valueName)
Returns the enum value with the given name. If none with that name can be found null will be returned.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ContainerClassification>