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