public abstract class DecimalBasedErpType<T extends DecimalBasedErpType<T>> extends Object implements ErpType<T>
Constructor and Description |
---|
DecimalBasedErpType(BigDecimal value) |
DecimalBasedErpType(Double value) |
DecimalBasedErpType(Float value) |
DecimalBasedErpType(String str) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected abstract int |
getDecimals() |
protected abstract int |
getMaxLength() |
protected abstract Class<T> |
getType() |
ErpTypeConverter<T> |
getTypeConverter() |
BigDecimal |
getValue() |
int |
hashCode() |
protected abstract boolean |
isSigned() |
String |
toString() |
public DecimalBasedErpType(String str)
public DecimalBasedErpType(Double value)
public DecimalBasedErpType(Float value)
public DecimalBasedErpType(@Nullable BigDecimal value)
protected abstract boolean isSigned()
protected abstract int getDecimals()
protected abstract int getMaxLength()
@Nonnull public ErpTypeConverter<T> getTypeConverter()
getTypeConverter
in interface ErpType<T extends DecimalBasedErpType<T>>
protected boolean canEqual(Object other)
@Nullable public BigDecimal getValue()
Copyright © 2019 SAP SE. All rights reserved.