Package com.helger.peppol.smp
Enum ESMPTransportProfile
- All Implemented Interfaces:
com.helger.commons.id.IHasID<String>,com.helger.commons.name.IHasName,com.helger.commons.type.IHasObjectType,com.helger.commons.type.ITypedObject<String>,ISMPTransportProfile,Serializable,Comparable<ESMPTransportProfile>,java.lang.constant.Constable
This class contains predefined transport profiles for service registrations.
A generic implementation of
ISMPTransportProfile can be found in
class SMPTransportProfile.- 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 ConstantDescriptionDeprecated.Deprecated.Deprecated.The CEF AS4 transport profileDBNA AS4 profile v1Deprecated.The Peppol AS4 profile v2Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ESMPTransportProfilegetFromIDOrNull(String sID) Find the pre-defined transport profile with the passed ID.getID()Get the ID to be stored in an SMP endpoint.getName()The display name of this transport profile has no semantics and is just for informational purposes.com.helger.commons.type.ObjectTypegetState()static ESMPTransportProfileReturns the enum constant of this type with the specified name.static ESMPTransportProfile[]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, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.helger.commons.type.IHasObjectType
getObjectTypeName, hasObjectTypeMethods inherited from interface com.helger.peppol.smp.ISMPTransportProfile
getStateID
-
Enum Constant Details
-
TRANSPORT_PROFILE_START
Deprecated.The Peppol START transport profile -
TRANSPORT_PROFILE_AS2
Deprecated.The Peppol AS2 transport profile v1 (SHA-1).
Updated with AS2 v2 on 2020-02-01
Removed from Peppol per 2023-02-24 -
TRANSPORT_PROFILE_AS2_V2
Deprecated.The Peppol AS2 v2 transport profile v2 (SHA-256).
Mandatory (when using AS2) in Peppol since 2020-02-01.
Removed from Peppol per 2023-02-24 -
TRANSPORT_PROFILE_AS4
Deprecated.The AS4 transport profile - too unspecific. Don't use -
TRANSPORT_PROFILE_BDXR_AS4
The CEF AS4 transport profile -
TRANSPORT_PROFILE_PEPPOL_AS4
Deprecated.The Peppol AS4 profile v1. -
TRANSPORT_PROFILE_PEPPOL_AS4_V2
The Peppol AS4 profile v2 -
TRANSPORT_PROFILE_DBNA_AS4_v1
DBNA AS4 profile v1- Since:
- 9.3.2
-
-
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
-
getObjectType
- Specified by:
getObjectTypein interfacecom.helger.commons.type.IHasObjectType
-
getID
Description copied from interface:ISMPTransportProfileGet the ID to be stored in an SMP endpoint.- Specified by:
getIDin interfacecom.helger.commons.id.IHasID<String>- Specified by:
getIDin interfaceISMPTransportProfile
-
getName
Description copied from interface:ISMPTransportProfileThe display name of this transport profile has no semantics and is just for informational purposes. May neither benullnor empty.- Specified by:
getNamein interfacecom.helger.commons.name.IHasName- Specified by:
getNamein interfaceISMPTransportProfile
-
getState
- Specified by:
getStatein interfaceISMPTransportProfile- Returns:
- The state of the transport profile. May not be
null.
-
getFromIDOrNull
Find the pre-defined transport profile with the passed ID.- Parameters:
sID- The ID to be searched. May benull.- Returns:
nullif no such transport profile was found.
-
TRANSPORT_PROFILE_PEPPOL_AS4_V2