Enum ValueVariableModeType
- java.lang.Object
-
- java.lang.Enum<ValueVariableModeType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ValueVariableModeType
-
- All Implemented Interfaces:
Serializable
,Comparable<ValueVariableModeType>
public enum ValueVariableModeType extends Enum<ValueVariableModeType>
Java class for ValueVariableModeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ValueVariableModeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="realValue"/> <enumeration value="prismValue"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRISM_VALUE
The variables will be presented as prism values, e.g.REAL_VALUE
The variables will be presented as real values, e.g.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValueVariableModeType
fromValue(String v)
String
value()
static ValueVariableModeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValueVariableModeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REAL_VALUE
public static final ValueVariableModeType REAL_VALUE
The variables will be presented as real values, e.g. String, XMLGregorianCalendar, UserType, AssignmentType, etc. This is how it was done in midPoint from its beginnings. However, for simple types (like String) the metadata are lost when the real value is presented.
-
PRISM_VALUE
public static final ValueVariableModeType PRISM_VALUE
The variables will be presented as prism values, e.g. PrismPropertyValue, so the metadata can be accessed by the script. This is an experimental feature.
-
-
Method Detail
-
values
public static ValueVariableModeType[] 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 (ValueVariableModeType c : ValueVariableModeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueVariableModeType 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 ValueVariableModeType fromValue(String v)
-
-