public enum MessageIOType extends 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(String ioType) |
static MessageIOType |
valueOf(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 both
public static final MessageIOType incoming
public static final MessageIOType outgoing
public boolean isBoth()
public boolean isIncoming()
public boolean isOutgoing()
public static boolean isValid(String ioType)
public static MessageIOType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static MessageIOType[] values()
for (MessageIOType c : MessageIOType.values()) System.out.println(c);