Enum PeppolWildcardSelector.EMode

java.lang.Object
java.lang.Enum<PeppolWildcardSelector.EMode>
com.helger.smpclient.peppol.PeppolWildcardSelector.EMode
All Implemented Interfaces:
com.helger.commons.id.IHasID<String>, Serializable, Comparable<PeppolWildcardSelector.EMode>, java.lang.constant.Constable
Enclosing class:
PeppolWildcardSelector

public static enum PeppolWildcardSelector.EMode extends Enum<PeppolWildcardSelector.EMode> implements com.helger.commons.id.IHasID<String>
Defines the different selection modes.
This was valid for Policy for use of Identifiers 4.2.0. This is no longer valid with PFUOI 4.3.0 from May 15th 2025
Author:
Philip Helger
  • Enum Constant Details

    • BUSDOX_ONLY

      public static final PeppolWildcardSelector.EMode BUSDOX_ONLY
      Select document types with scheme busdox-docid-qns only.
    • WILDCARD_ONLY

      public static final PeppolWildcardSelector.EMode WILDCARD_ONLY
      Select document types with scheme peppol-doctype-wildcard only. This is e.g. the correct mode for PINT JP.
    • BUSDOX_THEN_WILDCARD

      public static final PeppolWildcardSelector.EMode BUSDOX_THEN_WILDCARD
      Select document types with scheme busdox-docid-qns followed by scheme peppol-doctype-wildcard.
    • WILDCARD_THEN_BUSDOX

      public static final PeppolWildcardSelector.EMode WILDCARD_THEN_BUSDOX
      Select document types with scheme peppol-doctype-wildcard followed by scheme busdox-docid-qns.
  • Method Details

    • values

      public static PeppolWildcardSelector.EMode[] 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

      public static PeppolWildcardSelector.EMode 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
    • getID

      @Nonnull @Nonempty public String getID()
      Specified by:
      getID in interface com.helger.commons.id.IHasID<String>
    • getFromIDOrNull

      @Nullable public static PeppolWildcardSelector.EMode getFromIDOrNull(@Nullable String sID)