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) |
compareTo, equals, getFillChar, getKeyAsString, getValue, hashCode, isDefault, isEmpty, toString, toString, transformToString, transformToType
public static final Period EMPTY
public Period(String value) throws IllegalArgumentException
IllegalArgumentException
@Contract(value="null -> null") @Nullable public static Period of(@Nullable String value) throws IllegalArgumentException
IllegalArgumentException
public ErpTypeConverter<Period> getTypeConverter()
public Class<Period> getType()
getType
in class StringBasedErpType<Period>
public int getMaxLength()
getMaxLength
in class StringBasedErpType<Period>
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 © 2017 SAP SE. All rights reserved.