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) |
canEqual, compareTo, equals, getFillChar, getKeyAsString, getValue, hashCode, isDefault, isEmpty, toString, toString, transformToString, transformToType
public static final CompanyCode EMPTY
public CompanyCode(String value) throws IllegalArgumentException
IllegalArgumentException
@Nullable public static CompanyCode of(@Nullable String value) throws IllegalArgumentException
IllegalArgumentException
@Nonnull public ErpTypeConverter<CompanyCode> getTypeConverter()
@Nonnull public Class<CompanyCode> getType()
getType
in class StringBasedErpType<CompanyCode>
public int getMaxLength()
getMaxLength
in class StringBasedErpType<CompanyCode>
@Nonnull public StringBasedErpType.FillCharStrategy getFillCharStrategy()
getFillCharStrategy
in class StringBasedErpType<CompanyCode>
@Nonnull public static Set<CompanyCode> toCompanyCodes(Collection<String> values)
@Nonnull public static Set<String> toStrings(Collection<CompanyCode> values)
Copyright © 2019 SAP SE. All rights reserved.