public enum MMA extends Enum<MMA>
Clase Java para MMA.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="MMA">
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<enumeration value="1"/>
<enumeration value="2"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
LESS_THAN_3500_KG |
MORE_THAN_3500_KG |
| Modifier and Type | Method and Description |
|---|---|
static MMA |
fromValue(int v) |
int |
value() |
static MMA |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MMA[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MMA LESS_THAN_3500_KG
public static final MMA MORE_THAN_3500_KG
public static MMA[] values()
for (MMA c : MMA.values()) System.out.println(c);
public static MMA 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 int value()
public static MMA fromValue(int v)
Copyright © 2018. All rights reserved.