Enum RItemKind
- java.lang.Object
-
- java.lang.Enum<RItemKind>
-
- com.evolveum.midpoint.repo.sql.data.common.any.RItemKind
-
- All Implemented Interfaces:
Serializable
,Comparable<RItemKind>
public enum RItemKind extends Enum<RItemKind>
- Author:
- lazyman
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends ItemDefinition>
getDefinitionClass()
Class<? extends ItemDelta>
getDeltaClass()
Class<? extends Item>
getItemClass()
static RItemKind
getTypeFromDeltaClass(Class<? extends ItemDelta> clazz)
static RItemKind
getTypeFromItemClass(Class<? extends Item> clazz)
static RItemKind
getTypeFromItemDefinitionClass(@NotNull Class<? extends ItemDefinition> clazz)
static RItemKind
getTypeFromValueClass(Class<? extends PrismValue> clazz)
Class<? extends PrismValue>
getValueClass()
static RItemKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static RItemKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static RItemKind[] 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 (RItemKind c : RItemKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RItemKind 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
-
getValueClass
public Class<? extends PrismValue> getValueClass()
-
getDefinitionClass
public Class<? extends ItemDefinition> getDefinitionClass()
-
getTypeFromItemDefinitionClass
public static RItemKind getTypeFromItemDefinitionClass(@NotNull @NotNull Class<? extends ItemDefinition> clazz)
-
getTypeFromValueClass
public static RItemKind getTypeFromValueClass(Class<? extends PrismValue> clazz)
-
-