Package com.helger.phase4.model
Enum EMEP
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,Serializable,Comparable<EMEP>,java.lang.constant.Constable
Defines the available Message Exchange Patterns (MEPs).
- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe One-Way MEP which governs the exchange of a single User Message Unit unrelated to other User Messages.The Two-Way MEP which governs the exchange of two User Message Units in opposite directions, the first one to occur is labeled "request", the other one "reply". -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic EMEPgetFromIDOrNull(String sID) static EMEPgetFromURIOrNull(String sURI) getID()intgetURI()booleanisOneWay()booleanisTwoWay()static EMEPReturns the enum constant of this type with the specified name.static EMEP[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ONE_WAY
The One-Way MEP which governs the exchange of a single User Message Unit unrelated to other User Messages. -
TWO_WAY
The Two-Way MEP which governs the exchange of two User Message Units in opposite directions, the first one to occur is labeled "request", the other one "reply". In an actual instance, the "reply" must reference the "request" using eb:RefToMessageId. Or referenced to as The Two-Way/Sync MEP.
-
-
Field Details
-
DEFAULT_EBMS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getID
- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>
-
getMessageCount
-
isOneWay
public boolean isOneWay() -
isTwoWay
public boolean isTwoWay() -
getURI
-
getFromIDOrNull
-
getFromURIOrNull
-