Package org.smooks.edifact.binding.d03b
Enum E8459ExcessTransportationResponsibilityCode
- java.lang.Object
-
- java.lang.Enum<E8459ExcessTransportationResponsibilityCode>
-
- org.smooks.edifact.binding.d03b.E8459ExcessTransportationResponsibilityCode
-
- All Implemented Interfaces:
Serializable,Comparable<E8459ExcessTransportationResponsibilityCode>
public enum E8459ExcessTransportationResponsibilityCode extends Enum<E8459ExcessTransportationResponsibilityCode>
Java class for E8459-ExcessTransportationResponsibilityCode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="E8459-ExcessTransportationResponsibilityCode"> <restriction base="{http://www.ibm.com/dfdl/edi/un/edifact/D03B}alpha0-3"> <enumeration value="A"/> <enumeration value="B"/> <enumeration value="S"/> <enumeration value="X"/> <enumeration value="ZZZ"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static E8459ExcessTransportationResponsibilityCodefromValue(String v)Stringvalue()static E8459ExcessTransportationResponsibilityCodevalueOf(String name)Returns the enum constant of this type with the specified name.static E8459ExcessTransportationResponsibilityCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final E8459ExcessTransportationResponsibilityCode A
-
B
public static final E8459ExcessTransportationResponsibilityCode B
-
S
public static final E8459ExcessTransportationResponsibilityCode S
-
X
public static final E8459ExcessTransportationResponsibilityCode X
-
ZZZ
public static final E8459ExcessTransportationResponsibilityCode ZZZ
-
-
Method Detail
-
values
public static E8459ExcessTransportationResponsibilityCode[] 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 (E8459ExcessTransportationResponsibilityCode c : E8459ExcessTransportationResponsibilityCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static E8459ExcessTransportationResponsibilityCode 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 E8459ExcessTransportationResponsibilityCode fromValue(String v)
-
-