Class DecimalBasedErpType<T extends DecimalBasedErpType<T>>
java.lang.Object
com.sap.cloud.sdk.s4hana.serialization.DecimalBasedErpType<T>
- Type Parameters:
T
- The generic sub class type.
- All Implemented Interfaces:
ErpType<T>
,Serializable
@Deprecated
public abstract class DecimalBasedErpType<T extends DecimalBasedErpType<T>>
extends Object
implements ErpType<T>
Deprecated.
This module will be discontinued, along with its classes and methods.
The base class for decimal based ERP types.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDecimalBasedErpType
(Double value) Deprecated.Constructor.DecimalBasedErpType
(Float value) Deprecated.Constructor.Deprecated.Constructor.DecimalBasedErpType
(BigDecimal value) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Deprecated.boolean
Deprecated.protected abstract int
Deprecated.Indicator for decimals.protected abstract int
Deprecated.The maximum character length of the number.getType()
Deprecated.Sub class reference.Deprecated.Get the type converter for the ERP type.getValue()
Deprecated.int
hashCode()
Deprecated.protected abstract boolean
isSigned()
Deprecated.Indicator for numeric sign; are values below zero allowed?toString()
Deprecated.
-
Constructor Details
-
DecimalBasedErpType
Deprecated.Constructor.- Parameters:
str
- The String representation of the number.
-
DecimalBasedErpType
Deprecated.Constructor.- Parameters:
value
- The Double value.
-
DecimalBasedErpType
Deprecated.Constructor.- Parameters:
value
- The Float value.
-
DecimalBasedErpType
Deprecated.
-
-
Method Details
-
getType
Deprecated.Sub class reference.- Returns:
- The sub class.
-
isSigned
protected abstract boolean isSigned()Deprecated.Indicator for numeric sign; are values below zero allowed?- Returns:
- The sign flag.
-
getDecimals
protected abstract int getDecimals()Deprecated.Indicator for decimals.- Returns:
- The number of saved decimals.
-
getMaxLength
protected abstract int getMaxLength()Deprecated.The maximum character length of the number.- Returns:
- The maximum character length.
-
getTypeConverter
Deprecated.Description copied from interface:ErpType
Get the type converter for the ERP type.- Specified by:
getTypeConverter
in interfaceErpType<T extends DecimalBasedErpType<T>>
- Returns:
- The type converter.
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated. -
getValue
Deprecated.
-