Package com.saperion.ws.wrapper
Enum Class SaWsMatchKind
- All Implemented Interfaces:
Serializable
,Comparable<SaWsMatchKind>
,Constable
The user-rights-match-kinds used by the webservice.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionmatches if exactly all rights are existing.matches if a minimum subset of rights is existing.matches if at least one right is existing. -
Method Summary
Modifier and TypeMethodDescriptionstatic com.saperion.util.MatchKind
fromWebService
(SaWsMatchKind type) Converts the SaWsMatchKind enum to an MatchKind enum.static SaWsMatchKind
Returns the enum constant of this class with the specified name.static SaWsMatchKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ONE_OF
matches if at least one right is existing. -
EXACT_ALL
matches if exactly all rights are existing. -
MINIMUM_SUBSET
matches if a minimum subset of rights is existing.
-
-
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
-
fromWebService
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.
-