Class ErpInteger
java.lang.Object
com.sap.cloud.sdk.s4hana.serialization.IntegerBasedErpType<ErpInteger>
com.sap.cloud.sdk.s4hana.serialization.ErpInteger
- All Implemented Interfaces:
ErpType<ErpInteger>
,Serializable
Deprecated.
This module will be discontinued, along with its classes and methods.
Representation of an integer in an ERP.
- See Also:
-
Constructor Summary
ConstructorDescriptionErpInteger
(Integer value) Deprecated.Constructor.ErpInteger
(Long value) Deprecated.Constructor.ErpInteger
(String str) Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected int
Deprecated.The maximum character length of the number.protected Class<ErpInteger>
getType()
Deprecated.Sub class reference.protected boolean
isSigned()
Deprecated.Indicator for numeric sign; are values below zero allowed?Methods inherited from class com.sap.cloud.sdk.s4hana.serialization.IntegerBasedErpType
byteValue, canEqual, equals, getTypeConverter, getValue, hashCode, intValue, longValue, shortValue, toString
-
Constructor Details
-
ErpInteger
Deprecated.Constructor.- Parameters:
value
- The Long value.- Throws:
IllegalArgumentException
- when the input value could not be converted.
-
ErpInteger
Deprecated.Constructor.- Parameters:
str
- The String value.- Throws:
IllegalArgumentException
- when the input value could not be converted.
-
ErpInteger
Deprecated.Constructor.- Parameters:
value
- The Integer value.- Throws:
IllegalArgumentException
- when the input value could not be converted.
-
-
Method Details
-
getType
Deprecated.Description copied from class:IntegerBasedErpType
Sub class reference.- Specified by:
getType
in classIntegerBasedErpType<ErpInteger>
- Returns:
- The sub class.
-
getMaxLength
protected int getMaxLength()Deprecated.Description copied from class:IntegerBasedErpType
The maximum character length of the number.- Specified by:
getMaxLength
in classIntegerBasedErpType<ErpInteger>
- Returns:
- The maximum character length.
-
isSigned
protected boolean isSigned()Deprecated.Description copied from class:IntegerBasedErpType
Indicator for numeric sign; are values below zero allowed?- Specified by:
isSigned
in classIntegerBasedErpType<ErpInteger>
- Returns:
- The sign flag.
-