public static enum StringBasedErpType.FillCharStrategy extends Enum<StringBasedErpType.FillCharStrategy>
StringBasedErpType
to the length specified
by StringBasedErpType.getMaxLength()
.Enum Constant and Description |
---|
DO_NOTHING
Leaves the String unmodified.
|
FILL_LEADING
Fills the String until the specified length ist reached.
|
FILL_LEADING_IF_NUMERIC
If the Strings contains only numeric values, fill the string until the specified length is reached, otherwise
leave the String unmodified.
|
STRIP_LEADING
Removes all occurrences of the specified character from the start of the String.
|
Modifier and Type | Method and Description |
---|---|
static StringBasedErpType.FillCharStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringBasedErpType.FillCharStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringBasedErpType.FillCharStrategy DO_NOTHING
public static final StringBasedErpType.FillCharStrategy FILL_LEADING
public static final StringBasedErpType.FillCharStrategy FILL_LEADING_IF_NUMERIC
public static final StringBasedErpType.FillCharStrategy STRIP_LEADING
public static StringBasedErpType.FillCharStrategy[] values()
for (StringBasedErpType.FillCharStrategy c : StringBasedErpType.FillCharStrategy.values()) System.out.println(c);
public static StringBasedErpType.FillCharStrategy 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 © 2018 SAP SE. All rights reserved.