@Immutable public class QuantityPojo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
QuantityPojo.Builder
A builder for this class
|
| Constructor and Description |
|---|
QuantityPojo(BigDecimal aValue,
String sUnitCode) |
| Modifier and Type | Method and Description |
|---|---|
static QuantityPojo.Builder |
builder() |
static QuantityPojo.Builder |
builder(QuantityType a) |
boolean |
equals(Object o) |
QuantityType |
getAsQuantity() |
String |
getAsString() |
String |
getUnitCode() |
BigDecimal |
getValue() |
int |
hashCode() |
String |
toString() |
public QuantityPojo(@Nullable BigDecimal aValue, @Nullable String sUnitCode)
@Nullable public final BigDecimal getValue()
@Nonnull public QuantityType getAsQuantity()
@Nonnull public static QuantityPojo.Builder builder()
@Nonnull public static QuantityPojo.Builder builder(@Nullable QuantityType a)
Copyright © 2020 toop.eu. All rights reserved.