public static enum TypeDeclaration.Format extends Enum<TypeDeclaration.Format>
Modifier and Type | Method and Description |
---|---|
static TypeDeclaration.Format |
parseFormat(String format) |
static TypeDeclaration.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeDeclaration.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeDeclaration.Format POJO
public static final TypeDeclaration.Format TEMPLATE
public static final String ID
public static TypeDeclaration.Format[] values()
for (TypeDeclaration.Format c : TypeDeclaration.Format.values()) System.out.println(c);
public static TypeDeclaration.Format 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.Format parseFormat(String format)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.