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