Enum RAnyConverter.ValueType
- java.lang.Object
-
- java.lang.Enum<RAnyConverter.ValueType>
-
- com.evolveum.midpoint.repo.sql.data.common.any.RAnyConverter.ValueType
-
- All Implemented Interfaces:
Serializable
,Comparable<RAnyConverter.ValueType>
- Enclosing class:
- RAnyConverter
public static enum RAnyConverter.ValueType extends Enum<RAnyConverter.ValueType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull RAExtValue
createNewAExtValue(Object value)
@NotNull ROExtValue
createNewOExtValue(Object value)
Class<?>
getValueType()
static RAnyConverter.ValueType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RAnyConverter.ValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REFERENCE
public static final RAnyConverter.ValueType REFERENCE
-
BOOLEAN
public static final RAnyConverter.ValueType BOOLEAN
-
LONG
public static final RAnyConverter.ValueType LONG
-
STRING
public static final RAnyConverter.ValueType STRING
-
DATE
public static final RAnyConverter.ValueType DATE
-
POLY_STRING
public static final RAnyConverter.ValueType POLY_STRING
-
-
Method Detail
-
values
public static RAnyConverter.ValueType[] 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 (RAnyConverter.ValueType c : RAnyConverter.ValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RAnyConverter.ValueType 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
-
getValueType
public Class<?> getValueType()
-
createNewAExtValue
@NotNull public @NotNull RAExtValue createNewAExtValue(Object value)
-
createNewOExtValue
@NotNull public @NotNull ROExtValue createNewOExtValue(Object value)
-
-