public enum RValueType extends Enum<RValueType>
Enum Constant and Description |
---|
CONTAINER |
OBJECT |
PROPERTY |
REFERENCE |
Modifier and Type | Method and Description |
---|---|
Class<? extends Item> |
getItemClass() |
static RValueType |
getTypeFromItemClass(Class<? extends Item> clazz) |
static RValueType |
getTypeFromValueClass(Class<? extends PrismValue> clazz) |
Class<? extends PrismValue> |
getValueClass() |
static RValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RValueType PROPERTY
public static final RValueType CONTAINER
public static final RValueType OBJECT
public static final RValueType REFERENCE
public static RValueType[] values()
for (RValueType c : RValueType.values()) System.out.println(c);
public static RValueType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<? extends PrismValue> getValueClass()
public static RValueType getTypeFromItemClass(Class<? extends Item> clazz)
public static RValueType getTypeFromValueClass(Class<? extends PrismValue> clazz)
Copyright © 2016 evolveum. All rights reserved.