org.mule.devkit.model.code
Enum GeneratedClassType
java.lang.Object
java.lang.Enum<GeneratedClassType>
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)
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
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.