Enum LinkChangeSituationType
- java.lang.Object
-
- java.lang.Enum<LinkChangeSituationType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.LinkChangeSituationType
-
- All Implemented Interfaces:
Serializable
,Comparable<LinkChangeSituationType>
public enum LinkChangeSituationType extends Enum<LinkChangeSituationType>
Java class for LinkChangeSituationType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LinkChangeSituationType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="always"/> <enumeration value="added"/> <enumeration value="removed"/> <enumeration value="inNew"/> <enumeration value="inOld"/> <enumeration value="changed"/> <enumeration value="unchanged"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDED
Link matches only if it was just added (i.e.ALWAYS
Link always matches (even if it existed but does not any more).CHANGED
Link matches if its existence was changed (false->true or true->false).IN_NEW
Link matches if it exists in the "new" state (i.e.IN_OLD
Link matches if it exists in the "old" state (i.e.REMOVED
Link matches only if it was just removed (i.e.UNCHANGED
Link matches if its existence was unchanged (false->false or true->true).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LinkChangeSituationType
fromValue(String v)
String
value()
static LinkChangeSituationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LinkChangeSituationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final LinkChangeSituationType ALWAYS
Link always matches (even if it existed but does not any more).
-
ADDED
public static final LinkChangeSituationType ADDED
Link matches only if it was just added (i.e. its existence went from false to true).
-
REMOVED
public static final LinkChangeSituationType REMOVED
Link matches only if it was just removed (i.e. existence went from true to false).
-
IN_NEW
public static final LinkChangeSituationType IN_NEW
Link matches if it exists in the "new" state (i.e. it existence went from any to true).
-
IN_OLD
public static final LinkChangeSituationType IN_OLD
Link matches if it exists in the "old" state (i.e. it existence went from true to any).
-
CHANGED
public static final LinkChangeSituationType CHANGED
Link matches if its existence was changed (false->true or true->false).
-
UNCHANGED
public static final LinkChangeSituationType UNCHANGED
Link matches if its existence was unchanged (false->false or true->true).
-
-
Method Detail
-
values
public static LinkChangeSituationType[] 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 (LinkChangeSituationType c : LinkChangeSituationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinkChangeSituationType 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 nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static LinkChangeSituationType fromValue(String v)
-
-