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