com.evolveum.midpoint.repo.sql.data.common.any
Enum RValueType
java.lang.Object
java.lang.Enum<RValueType>
com.evolveum.midpoint.repo.sql.data.common.any.RValueType
- All Implemented Interfaces:
- Serializable, Comparable<RValueType>
public enum RValueType
- extends Enum<RValueType>
- Author:
- lazyman
PROPERTY
public static final RValueType PROPERTY
CONTAINER
public static final RValueType CONTAINER
OBJECT
public static final RValueType OBJECT
REFERENCE
public static final RValueType REFERENCE
values
public static RValueType[] 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 (RValueType c : RValueType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RValueType 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 name
NullPointerException
- if the argument is null
getValueClass
public Class<? extends PrismValue> getValueClass()
getItemClass
public Class<? extends Item> getItemClass()
getTypeFromItemClass
public static RValueType getTypeFromItemClass(Class<? extends Item> clazz)
getTypeFromValueClass
public static RValueType getTypeFromValueClass(Class<? extends PrismValue> clazz)
Copyright © 2013 evolveum. All Rights Reserved.