public static enum TypeDeclaration.Role extends Enum<TypeDeclaration.Role>
Modifier and Type | Method and Description |
---|---|
static TypeDeclaration.Role |
parseRole(String role) |
static TypeDeclaration.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeDeclaration.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDeclaration.Role FACT
public static final TypeDeclaration.Role EVENT
public static final String ID
public static TypeDeclaration.Role[] values()
for (TypeDeclaration.Role c : TypeDeclaration.Role.values()) System.out.println(c);
public static TypeDeclaration.Role valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TypeDeclaration.Role parseRole(String role)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.