T
- The generic sub class type.public abstract class IntegerBasedErpType<T extends IntegerBasedErpType<T>> extends Object implements ErpType<T>
Constructor and Description |
---|
IntegerBasedErpType(BigInteger value) |
IntegerBasedErpType(byte value)
Constructor.
|
IntegerBasedErpType(int value)
Constructor.
|
IntegerBasedErpType(long value)
Constructor.
|
IntegerBasedErpType(short value)
Constructor.
|
IntegerBasedErpType(String str)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Byte |
byteValue()
Get the Byte value.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected abstract int |
getMaxLength()
The maximum character length of the number.
|
protected abstract Class<T> |
getType()
Sub class reference.
|
ErpTypeConverter<T> |
getTypeConverter()
Get the type converter for the ERP type.
|
BigInteger |
getValue() |
int |
hashCode() |
Integer |
intValue()
Get the Integer value.
|
protected abstract boolean |
isSigned()
Indicator for numeric sign; are values below zero allowed?
|
Long |
longValue()
Get the Long value.
|
Short |
shortValue()
Get the Short value.
|
String |
toString() |
public IntegerBasedErpType(String str)
str
- The String representation of the number.public IntegerBasedErpType(byte value)
value
- The byte representation of the number.public IntegerBasedErpType(short value)
value
- The short representation of the number.public IntegerBasedErpType(int value)
value
- The int representation of the number.public IntegerBasedErpType(long value)
value
- The long representation of the number.public IntegerBasedErpType(@Nullable BigInteger value)
protected abstract boolean isSigned()
protected abstract int getMaxLength()
@Nonnull public ErpTypeConverter<T> getTypeConverter()
ErpType
getTypeConverter
in interface ErpType<T extends IntegerBasedErpType<T>>
@Nullable public BigInteger getValue()
Copyright © 2020 SAP SE. All rights reserved.