public enum NationCode extends Enum<NationCode>
Java class for nationcode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="nationcode"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="it"/> <enumeration value="en"/> <enumeration value="de"/> <enumeration value="fr"/> <enumeration value="es"/> <enumeration value="pt"/> <enumeration value="ru"/> <enumeration value="gr"/> <enumeration value="el"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static NationCode |
fromValue(String v) |
String |
value() |
static NationCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NationCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NationCode IT
public static final NationCode EN
public static final NationCode DE
public static final NationCode FR
public static final NationCode ES
public static final NationCode PT
public static final NationCode RU
public static final NationCode GR
public static final NationCode EL
public static NationCode[] values()
for (NationCode c : NationCode.values()) System.out.println(c);
public static NationCode 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 String value()
public static NationCode fromValue(String v)
Copyright © 2015 OpenEstate. All rights reserved.