org.mule.devkit.model.code
Enum GeneratedClassType

java.lang.Object
  extended by java.lang.Enum<GeneratedClassType>
      extended by org.mule.devkit.model.code.GeneratedClassType
All Implemented Interfaces:
Serializable, Comparable<GeneratedClassType>

public enum GeneratedClassType
extends Enum<GeneratedClassType>

This helps enable whether the DefinedClass is a Class or Interface or AnnotationTypeDeclaration or Enum

Author:
Bhakti Mehta (bhakti.mehta@sun.com)

Enum Constant Summary
ANNOTATION_TYPE_DECL
           
CLASS
           
ENUM
           
INTERFACE
           
 
Method Summary
 String getDeclarationToken()
           
static GeneratedClassType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GeneratedClassType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLASS

public static final GeneratedClassType CLASS

INTERFACE

public static final GeneratedClassType INTERFACE

ANNOTATION_TYPE_DECL

public static final GeneratedClassType ANNOTATION_TYPE_DECL

ENUM

public static final GeneratedClassType ENUM
Method Detail

values

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

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

valueOf

public static GeneratedClassType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getDeclarationToken

public String getDeclarationToken()


Copyright © 2010-2013 MuleSoft, Inc.. All Rights Reserved.