@Beta public enum NameSource extends Enum<NameSource>
NamingStrategy
for determining the source for the java
namings.Enum Constant and Description |
---|
LABEL
Specifies that the sap:label of an entity/property should be used to determine the java namings.
|
NAME
Specifies that the name of an entity/property should be used to determine the java namings.
|
Modifier and Type | Method and Description |
---|---|
static NameSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NameSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NameSource NAME
public static final NameSource LABEL
public static NameSource[] values()
for (NameSource c : NameSource.values()) System.out.println(c);
public static NameSource 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 © 2021 SAP SE. All rights reserved.