Package org.smooks.edifact.binding.d03b
Enum E3279GeographicAreaCode
- java.lang.Object
-
- java.lang.Enum<E3279GeographicAreaCode>
-
- org.smooks.edifact.binding.d03b.E3279GeographicAreaCode
-
- All Implemented Interfaces:
Serializable,Comparable<E3279GeographicAreaCode>
public enum E3279GeographicAreaCode extends Enum<E3279GeographicAreaCode>
Java class for E3279-GeographicAreaCode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="E3279-GeographicAreaCode"> <restriction base="{http://www.ibm.com/dfdl/edi/un/edifact/D03B}alpha0-3"> <enumeration value="DO"/> <enumeration value="DR"/> <enumeration value="EA"/> <enumeration value="IN"/> <enumeration value="IR"/> <enumeration value="IS"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static E3279GeographicAreaCodefromValue(String v)Stringvalue()static E3279GeographicAreaCodevalueOf(String name)Returns the enum constant of this type with the specified name.static E3279GeographicAreaCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DO
public static final E3279GeographicAreaCode DO
-
DR
public static final E3279GeographicAreaCode DR
-
EA
public static final E3279GeographicAreaCode EA
-
IN
public static final E3279GeographicAreaCode IN
-
IR
public static final E3279GeographicAreaCode IR
-
IS
public static final E3279GeographicAreaCode IS
-
-
Method Detail
-
values
public static E3279GeographicAreaCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (E3279GeographicAreaCode c : E3279GeographicAreaCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static E3279GeographicAreaCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public String value()
-
fromValue
public static E3279GeographicAreaCode fromValue(String v)
-
-