Package io.xlate.edi.schema
Enum EDISimpleType.Base
- java.lang.Object
-
- java.lang.Enum<EDISimpleType.Base>
-
- io.xlate.edi.schema.EDISimpleType.Base
-
- All Implemented Interfaces:
Serializable,Comparable<EDISimpleType.Base>
- Enclosing interface:
- EDISimpleType
public static enum EDISimpleType.Base extends Enum<EDISimpleType.Base>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EDISimpleType.BasefromString(String value)static EDISimpleType.BasevalueOf(String name)Returns the enum constant of this type with the specified name.static EDISimpleType.Base[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final EDISimpleType.Base STRING
-
NUMERIC
public static final EDISimpleType.Base NUMERIC
-
DECIMAL
public static final EDISimpleType.Base DECIMAL
-
DATE
public static final EDISimpleType.Base DATE
-
TIME
public static final EDISimpleType.Base TIME
-
BINARY
public static final EDISimpleType.Base BINARY
-
IDENTIFIER
public static final EDISimpleType.Base IDENTIFIER
-
-
Method Detail
-
values
public static EDISimpleType.Base[] 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 (EDISimpleType.Base c : EDISimpleType.Base.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDISimpleType.Base 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
-
fromString
public static EDISimpleType.Base fromString(String value)
-
-