Enum Class SaWsMatchKind

java.lang.Object
java.lang.Enum<SaWsMatchKind>
com.saperion.ws.wrapper.SaWsMatchKind
All Implemented Interfaces:
Serializable, Comparable<SaWsMatchKind>, Constable

public enum SaWsMatchKind extends Enum<SaWsMatchKind>
The user-rights-match-kinds used by the webservice.
  • Enum Constant Details

    • ONE_OF

      public static final SaWsMatchKind ONE_OF
      matches if at least one right is existing.
    • EXACT_ALL

      public static final SaWsMatchKind EXACT_ALL
      matches if exactly all rights are existing.
    • MINIMUM_SUBSET

      public static final SaWsMatchKind MINIMUM_SUBSET
      matches if a minimum subset of rights is existing.
  • Method Details

    • values

      public static SaWsMatchKind[] 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

      public static SaWsMatchKind valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromWebService

      public static com.saperion.util.MatchKind fromWebService(SaWsMatchKind type)
      Converts the SaWsMatchKind enum to an MatchKind enum.
      Parameters:
      type - The SaWsMatchKind enum to match.
      Returns:
      The matched MatchKind enum with MatchKind.MKEXACT as default.