Enum Class LinkChangeSituationType
java.lang.Object
java.lang.Enum<LinkChangeSituationType>
com.evolveum.midpoint.xml.ns._public.common.common_3.LinkChangeSituationType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<LinkChangeSituationType>
,Constable
In what situations (change-related) does the link match?
EXPERIMENTAL. Think about broader applicability for transitional policy rules.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLink matches only if it was just added (i.e.Link always matches (even if it existed but does not any more).Link matches if its existence was changed (false->true or true->false).Link matches if it exists in the "new" state (i.e.Link matches if it exists in the "old" state (i.e.Link matches only if it was just removed (i.e.Link matches if its existence was unchanged (false->false or true->true). -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkChangeSituationType
value()
Returns enum value defined as in schema.static LinkChangeSituationType
Returns the enum constant of this class with the specified name.static LinkChangeSituationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Link always matches (even if it existed but does not any more). -
ADDED
Link matches only if it was just added (i.e. its existence went from false to true). -
REMOVED
Link matches only if it was just removed (i.e. existence went from true to false). -
IN_NEW
Link matches if it exists in the "new" state (i.e. it existence went from any to true). -
IN_OLD
Link matches if it exists in the "old" state (i.e. it existence went from true to any). -
CHANGED
Link matches if its existence was changed (false->true or true->false). -
UNCHANGED
Link matches if its existence was unchanged (false->false or true->true).
-
-
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
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-