Enum AppHdrType
- java.lang.Object
-
- java.lang.Enum<AppHdrType>
-
- com.prowidesoftware.swift.model.mx.AppHdrType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AppHdrType>
public enum AppHdrType extends java.lang.Enum<AppHdrType>
- Since:
- 9.1.2
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNamespace()
static java.lang.Class
of(java.lang.String namespace)
static AppHdrType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AppHdrType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEGACY
public static final AppHdrType LEGACY
-
BAH_V1
public static final AppHdrType BAH_V1
-
BAH_V2
public static final AppHdrType BAH_V2
-
BAH_V3
public static final AppHdrType BAH_V3
-
-
Method Detail
-
values
public static AppHdrType[] 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 (AppHdrType c : AppHdrType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AppHdrType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
of
public static java.lang.Class of(java.lang.String namespace)
- Parameters:
namespace
- the namespace of the header- Returns:
- the header implementation class or null if namespace is invalid or cannot be matched
- Since:
- 9.1.7
-
getNamespace
public java.lang.String getNamespace()
-
-