public static enum TypeDeclaration.Nature extends Enum<TypeDeclaration.Nature>
Enum Constant and Description |
---|
DECLARATION
A DECLARATION is a Type Declaration that does not contain any
field definition and that is just used to add meta-data to an
DEFINITION.
|
DEFINITION
A DEFINITION is:
1.- Type Declaration containing field definitions.
2.- A DECLARATION with no previous DEFINITION
|
Modifier and Type | Method and Description |
---|---|
static TypeDeclaration.Nature |
parseNature(String nature) |
static TypeDeclaration.Nature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeDeclaration.Nature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDeclaration.Nature DECLARATION
public static final TypeDeclaration.Nature DEFINITION
public static final String ID
public static TypeDeclaration.Nature[] values()
for (TypeDeclaration.Nature c : TypeDeclaration.Nature.values()) System.out.println(c);
public static TypeDeclaration.Nature 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.Nature parseNature(String nature)
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.