public class AccountType extends StringBasedErpType<AccountType>
StringBasedErpType.CharCasing, StringBasedErpType.FillCharStrategy
Constructor and Description |
---|
AccountType(String value) |
Modifier and Type | Method and Description |
---|---|
StringBasedErpType.FillCharStrategy |
getFillCharStrategy() |
int |
getMaxLength() |
Class<AccountType> |
getType() |
ErpTypeConverter<AccountType> |
getTypeConverter() |
static AccountType |
of(String value) |
static Set<AccountType> |
toAccountTypes(Collection<String> values) |
static Set<String> |
toStrings(Collection<AccountType> values) |
compareTo, equals, getFillChar, getKeyAsString, getValue, hashCode, isDefault, isEmpty, toString, toString, transformToString, transformToType
public AccountType(String value) throws IllegalArgumentException
IllegalArgumentException
@Contract(value="null -> null") @Nullable public static AccountType of(@Nullable String value) throws IllegalArgumentException
IllegalArgumentException
public ErpTypeConverter<AccountType> getTypeConverter()
public Class<AccountType> getType()
getType
in class StringBasedErpType<AccountType>
public int getMaxLength()
getMaxLength
in class StringBasedErpType<AccountType>
public StringBasedErpType.FillCharStrategy getFillCharStrategy()
getFillCharStrategy
in class StringBasedErpType<AccountType>
public static Set<AccountType> toAccountTypes(Collection<String> values)
public static Set<String> toStrings(Collection<AccountType> values)
Copyright © 2018 SAP SE. All rights reserved.