public class Quantity extends DecimalBasedErpType<Quantity>
Element: MENGE_D Domain: MENG13 Length: 7 Type: P Decimals: 3
Constructor and Description |
---|
Quantity(BigDecimal value) |
Quantity(double value) |
Quantity(float value) |
Quantity(String value) |
Modifier and Type | Method and Description |
---|---|
int |
getDecimals() |
int |
getMaxLength() |
Class<Quantity> |
getType() |
boolean |
isSigned() |
static Quantity |
of(BigDecimal value) |
static Quantity |
of(double value) |
static Quantity |
of(float value) |
static Quantity |
of(String value) |
canEqual, equals, getTypeConverter, getValue, hashCode, toString
public Quantity(String value)
public Quantity(BigDecimal value)
public Quantity(float value)
public Quantity(double value)
@Nonnull public static Quantity of(BigDecimal value)
public int getDecimals()
getDecimals
in class DecimalBasedErpType<Quantity>
public int getMaxLength()
getMaxLength
in class DecimalBasedErpType<Quantity>
public boolean isSigned()
isSigned
in class DecimalBasedErpType<Quantity>
Copyright © 2018 SAP SE. All rights reserved.