public static enum DocumentUtil.Name extends Enum<DocumentUtil.Name>
Enum Constant and Description |
---|
DATABASE_NAME
The name used in the database to reference this document.
|
JAVA_NAME
A user defined name that is used for the document primarily in
generated code.
|
Modifier and Type | Method and Description |
---|---|
String |
of(HasAlias document)
Returns the appropriate name of the specified document.
|
static DocumentUtil.Name |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentUtil.Name[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentUtil.Name DATABASE_NAME
public static final DocumentUtil.Name JAVA_NAME
public static DocumentUtil.Name[] values()
for (DocumentUtil.Name c : DocumentUtil.Name.values()) System.out.println(c);
public static DocumentUtil.Name 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 nullCopyright © 2016 Speedment, Inc.. All rights reserved.