public static enum VolumeValue.Unit extends Enum<VolumeValue.Unit>
Modifier and Type | Method and Description |
---|---|
static VolumeValue.Unit |
getBaseUnit() |
BigDecimal |
getBaseUnitFactor()
Faktor zur Umrechnung auf die Basiseinheit.
|
String |
toString() |
static VolumeValue.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeValue.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
write() |
public static final VolumeValue.Unit ML
public static final VolumeValue.Unit L
public static final VolumeValue.Unit CUM
public static final VolumeValue.Unit CUIN
public static final VolumeValue.Unit CUFT
public static final VolumeValue.Unit CUYD
public static final VolumeValue.Unit GAL
public static final VolumeValue.Unit BL
public static VolumeValue.Unit[] values()
for (VolumeValue.Unit c : VolumeValue.Unit.values()) System.out.println(c);
public static VolumeValue.Unit valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static VolumeValue.Unit getBaseUnit()
public BigDecimal getBaseUnitFactor()
public String toString()
toString
in class Enum<VolumeValue.Unit>
public String write()
Copyright © 2019 OpenEstate. All rights reserved.