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:
- java.io.Serializable, java.lang.Comparable<Message.MEPConstants>
- Enclosing class:
- Message
public static enum Message.MEPConstants
- extends java.lang.Enum<Message.MEPConstants>
Constants for the JBI Message Exchange Patterns.
- Author:
- ofabre, gblondelle
|
Method Summary |
boolean |
equals(java.net.URI mep)
Please use this equals method instead of using :
value().equals(mep)
which is
almost 10 times slower... |
java.lang.String |
toString()
|
java.net.URI |
value()
|
static Message.MEPConstants |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Message.MEPConstants |
valueOf(java.net.URI pattern)
|
static Message.MEPConstants[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
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(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 name
java.lang.NullPointerException - if the argument is null
valueOf
public static Message.MEPConstants valueOf(java.net.URI pattern)
- Parameters:
pattern -
- Returns:
value
public java.net.URI value()
- Returns:
equals
public boolean equals(java.net.URI mep)
- Please use this equals method instead of using :
value().equals(mep)
which is
almost 10 times slower...
- Parameters:
mep -
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<Message.MEPConstants>
Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.