Package com.helger.peppol.smp
Enum Class ESMPTransportProfile
- All Implemented Interfaces:
com.helger.base.id.IHasID<String>,com.helger.base.name.IHasName,com.helger.base.type.IHasObjectType,com.helger.base.type.ITypedObject<String>,ISMPTransportProfile,Serializable,Comparable<ESMPTransportProfile>,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 profileDBNAlliance AS4 profile v1HR eDelivery AS4 profile v1Deprecated.The Peppol AS4 profile v2Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ESMPTransportProfilegetFromIDOrNull(@Nullable String sID) Find the pre-defined transport profile with the passed ID.@NonNull @Nonempty StringgetID()Get the ID to be stored in an SMP endpoint.@NonNull @Nonempty StringgetName()The display name of this transport profile has no semantics and is just for informational purposes.@NonNull com.helger.base.type.ObjectType@NonNull ESMPTransportProfileStategetState()static ESMPTransportProfileReturns the enum constant of this class with the specified name.static ESMPTransportProfile[]values()Returns an array containing the constants of this enum class, 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.base.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
DBNAlliance AS4 profile v1- Since:
- 9.3.2, 12.1.1 the "v1" was changed to "V1"
-
TRANSPORT_PROFILE_ERACUN_AS4_V1
HR eDelivery AS4 profile v1- Since:
- 12.1.1
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getObjectType
public @NonNull com.helger.base.type.ObjectType getObjectType()- Specified by:
getObjectTypein interfacecom.helger.base.type.IHasObjectType
-
getID
Description copied from interface:ISMPTransportProfileGet the ID to be stored in an SMP endpoint.- Specified by:
getIDin interfacecom.helger.base.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.base.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