org.pfsw.odem
Enum DependencyClassification

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

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

Specifies the currently supported types

Version:
1.2
Author:
M.Duchrow

Enum Constant Summary
ANNOTATION
           
CLASS_CONST
           
CLASS_REFLECT
           
CONSTANT
           
CONTAINED_IN
           
CONTAINS
           
EXTENSION
           
FIELD_TYPE
           
IMPLEMENTATION
           
LOCAL_FIELD_TYPE
           
METHOD_PARAM
           
METHOD_RESULT
           
NEEDS
           
 
Method Summary
static DependencyClassification fromString(java.lang.String valueName)
          Returns the enum value with the given name.
 java.lang.String toString()
           
static DependencyClassification valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DependencyClassification[] values()
          Returns an array containing the constants of this enum type, in the order they're 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

NEEDS

public static final DependencyClassification NEEDS

EXTENSION

public static final DependencyClassification EXTENSION

IMPLEMENTATION

public static final DependencyClassification IMPLEMENTATION

ANNOTATION

public static final DependencyClassification ANNOTATION

CLASS_REFLECT

public static final DependencyClassification CLASS_REFLECT

CLASS_CONST

public static final DependencyClassification CLASS_CONST

CONTAINS

public static final DependencyClassification CONTAINS

CONTAINED_IN

public static final DependencyClassification CONTAINED_IN

FIELD_TYPE

public static final DependencyClassification FIELD_TYPE

CONSTANT

public static final DependencyClassification CONSTANT

METHOD_PARAM

public static final DependencyClassification METHOD_PARAM

METHOD_RESULT

public static final DependencyClassification METHOD_RESULT

LOCAL_FIELD_TYPE

public static final DependencyClassification LOCAL_FIELD_TYPE
Method Detail

values

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

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

valueOf

public static DependencyClassification 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

fromString

public static DependencyClassification 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<DependencyClassification>