org.ow2.petals.component.framework.api
Enum Message.MEPConstants
java.lang.Object
java.lang.Enum<Message.MEPConstants>
org.ow2.petals.component.framework.api.Message.MEPConstants
- All Implemented Interfaces:
- Serializable, Comparable<Message.MEPConstants>
- Enclosing class:
- Message
public static enum Message.MEPConstants
- extends Enum<Message.MEPConstants>
Constants for the JBI Message Exchange Patterns.
- Author:
- ofabre, gblondelle
IN_ONLY_PATTERN
public static final Message.MEPConstants IN_ONLY_PATTERN
IN_OPTIONAL_OUT_PATTERN
public static final Message.MEPConstants IN_OPTIONAL_OUT_PATTERN
IN_OUT_PATTERN
public static final Message.MEPConstants IN_OUT_PATTERN
ROBUST_IN_ONLY_PATTERN
public static final Message.MEPConstants ROBUST_IN_ONLY_PATTERN
values
public static Message.MEPConstants[] 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 (Message.MEPConstants c : Message.MEPConstants.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Message.MEPConstants 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 name
NullPointerException - if the argument is null
valueOf
public static Message.MEPConstants valueOf(URI pattern)
- Parameters:
pattern -
- Returns:
value
public URI value()
- Returns:
equals
public boolean equals(URI mep)
- Please use this equals method instead of using :
value().equals(mep)
which is
almost 10 times slower...
- Parameters:
mep -
- Returns:
toString
public String toString()
- Overrides:
toString in class Enum<Message.MEPConstants>
Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.