public class RAnyConverter extends Object
Constructor and Description |
---|
RAnyConverter(PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
void |
convertFromRValue(RAnyValue value,
PrismContainerValue any) |
Set<RAnyValue> |
convertToRValue(Item item,
boolean assignment) |
static Object |
getAggregatedRepoObject(Object object)
Method provides aggregation of some java types (only simple types, which are indexed)
|
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getAnySetType(ItemDefinition definition) |
static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> |
getAnySetType(ItemDefinition definition,
Element value)
This method provides extension type (in real it's table) string for definition and value
defined as parameters.
|
static Object |
getRealRepoValue(ItemDefinition definition,
Element value)
This method provides transformation of
Element value to its object form, e.g. |
public RAnyConverter(PrismContext prismContext)
public Set<RAnyValue> convertToRValue(Item item, boolean assignment) throws DtoTranslationException
DtoTranslationException
public void convertFromRValue(RAnyValue value, PrismContainerValue any) throws DtoTranslationException
DtoTranslationException
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> String getAnySetType(ItemDefinition definition, Element value) throws SchemaException
RAnyContainer
where defined
extension value is or can be saved.T
- definition
- value
- SchemaException
public static <T extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> String getAnySetType(ItemDefinition definition) throws SchemaException
SchemaException
public static Object getRealRepoValue(ItemDefinition definition, Element value) throws SchemaException
Element
value to its object form, e.g. Integer
number 1. It's based on element definition from schema registry or xsi:type attribute
in that element.definition
- value
- SchemaException
Copyright © 2014 evolveum. All rights reserved.