public enum MessageIOType extends java.lang.Enum<MessageIOType>
Enum Constant and Description |
---|
both
Messages coming from and going to the swift network
|
incoming
Message coming to the institution from SWIFT network
|
outgoing
Message produced in the institution to be introduced (or already did) in the SWIFT network
|
Modifier and Type | Method and Description |
---|---|
boolean |
isBoth() |
boolean |
isIncoming() |
boolean |
isOutgoing() |
static boolean |
isValid(java.lang.String ioType) |
static MessageIOType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageIOType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageIOType incoming
public static final MessageIOType outgoing
public static final MessageIOType both
public static MessageIOType[] values()
for (MessageIOType c : MessageIOType.values()) System.out.println(c);
public static MessageIOType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static boolean isValid(java.lang.String ioType)
public boolean isIncoming()
public boolean isOutgoing()
public boolean isBoth()