public enum DocumentationKind extends Enum<DocumentationKind>
| Enum Constant and Description |
|---|
DESCRIPTION |
LABEL |
PLURAL_LABEL |
| Modifier and Type | Field and Description |
|---|---|
static String |
QNAME_SEPARATOR |
| Modifier and Type | Method and Description |
|---|---|
String |
getKey(String objectName,
String objectType,
String partName)
Creates a unique key to identify a message of this kind, using the objectName, qualified name
type and partName separated by
QNAME_SEPARATOR and appending the name of the current
message kind. |
static DocumentationKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentationKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentationKind LABEL
public static final DocumentationKind PLURAL_LABEL
public static final DocumentationKind DESCRIPTION
public static final String QNAME_SEPARATOR
public static DocumentationKind[] values()
for (DocumentationKind c : DocumentationKind.values()) System.out.println(c);
public static DocumentationKind 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 String getKey(String objectName, String objectType, String partName)
QNAME_SEPARATOR and appending the name of the current
message kind.Copyright © 2021. All rights reserved.