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