Enum PeppolProcessTypeIdAcronym

  • All Implemented Interfaces:
    Serializable, Comparable<PeppolProcessTypeIdAcronym>

    public enum PeppolProcessTypeIdAcronym
    extends Enum<PeppolProcessTypeIdAcronym>
    Acronyms for the various PEPPOL processes. Makes life a little easier, as the ProcessIdentifier only represents a type safe value of any kind of string.

    According to Policy 16: PEPPOL processes are identified by the respective BII processes. The process identifier has to match the BII profile ID.

    Author:
    Steinar Overbeck Cook
    See Also:
    "Tranport Policy for using Identifiers"
    • Method Detail

      • values

        public static PeppolProcessTypeIdAcronym[] 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 (PeppolProcessTypeIdAcronym c : PeppolProcessTypeIdAcronym.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static PeppolProcessTypeIdAcronym 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
      • toVefa

        public network.oxalis.vefa.peppol.common.model.ProcessIdentifier toVefa()