Class IntegerBasedErpType<T extends IntegerBasedErpType<T>>
java.lang.Object
com.sap.cloud.sdk.s4hana.serialization.IntegerBasedErpType<T>
- Type Parameters:
T
- The generic sub class type.
- All Implemented Interfaces:
ErpType<T>
,Serializable
- Direct Known Subclasses:
ErpInteger
@Deprecated
public abstract class IntegerBasedErpType<T extends IntegerBasedErpType<T>>
extends Object
implements ErpType<T>
Deprecated.
This module will be discontinued, along with its classes and methods.
Base class for an integer like ERP type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIntegerBasedErpType
(byte value) Deprecated.Constructor.IntegerBasedErpType
(int value) Deprecated.Constructor.IntegerBasedErpType
(long value) Deprecated.Constructor.IntegerBasedErpType
(short value) Deprecated.Constructor.Deprecated.Constructor.IntegerBasedErpType
(BigInteger value) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the Byte value.protected boolean
Deprecated.boolean
Deprecated.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.intValue()
Deprecated.Get the Integer value.protected abstract boolean
isSigned()
Deprecated.Indicator for numeric sign; are values below zero allowed?Deprecated.Get the Long value.Deprecated.Get the Short value.toString()
Deprecated.
-
Constructor Details
-
IntegerBasedErpType
Deprecated.Constructor.- Parameters:
str
- The String representation of the number.
-
IntegerBasedErpType
public IntegerBasedErpType(byte value) Deprecated.Constructor.- Parameters:
value
- The byte representation of the number.
-
IntegerBasedErpType
public IntegerBasedErpType(short value) Deprecated.Constructor.- Parameters:
value
- The short representation of the number.
-
IntegerBasedErpType
public IntegerBasedErpType(int value) Deprecated.Constructor.- Parameters:
value
- The int representation of the number.
-
IntegerBasedErpType
public IntegerBasedErpType(long value) Deprecated.Constructor.- Parameters:
value
- The long representation of the number.
-
IntegerBasedErpType
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.
-
getMaxLength
protected abstract int getMaxLength()Deprecated.The maximum character length of the number.- Returns:
- The maximum character length.
-
byteValue
Deprecated.Get the Byte value.- Returns:
- The Byte value.
-
shortValue
Deprecated.Get the Short value.- Returns:
- The Short value.
-
intValue
Deprecated.Get the Integer value.- Returns:
- The Integer value.
-
longValue
Deprecated.Get the Long value.- Returns:
- The Long value.
-
toString
Deprecated. -
getTypeConverter
Deprecated.Description copied from interface:ErpType
Get the type converter for the ERP type.- Specified by:
getTypeConverter
in interfaceErpType<T extends IntegerBasedErpType<T>>
- Returns:
- The type converter.
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
getValue
Deprecated.
-