Package com.prowidesoftware.swift.model
Enum MessageDirection
- java.lang.Object
-
- java.lang.Enum<MessageDirection>
-
- com.prowidesoftware.swift.model.MessageDirection
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MessageDirection>
public enum MessageDirection extends java.lang.Enum<MessageDirection>
Message direction from SWIFT perspective.A message direction is Input when it is sent to SWIFT, meaning it is and outbound message from the application. Conversely, a message direction is Output when it is received from SWIFT, meaning it is and inbound message for the application.
- Since:
- 9.1.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageDirection
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MessageDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Input
public static final MessageDirection Input
-
Output
public static final MessageDirection Output
-
-
Method Detail
-
values
public static MessageDirection[] 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 (MessageDirection c : MessageDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageDirection 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
-
-