public class StaticExpressionUtil extends Object
Constructor and Description |
---|
StaticExpressionUtil() |
Modifier and Type | Method and Description |
---|---|
static <X> com.evolveum.midpoint.prism.PrismProperty<X> |
getPropertyStatic(ExpressionType expressionType,
com.evolveum.midpoint.prism.PrismPropertyDefinition outputDefinition,
String contextDescription,
com.evolveum.midpoint.prism.PrismContext prismContext) |
static <X> Collection<X> |
getPropertyStaticRealValues(ExpressionType expressionType,
com.evolveum.midpoint.prism.PrismPropertyDefinition outputDefinition,
String contextDescription,
com.evolveum.midpoint.prism.PrismContext prismContext)
Always returns collection, even for single-valued results.
|
static Object |
getStaticOutput(ExpressionType expressionType,
com.evolveum.midpoint.prism.PrismPropertyDefinition outputDefinition,
String contextDescription,
ExpressionReturnMultiplicityType preferredMultiplicity,
com.evolveum.midpoint.prism.PrismContext prismContext)
Returns either Object (if result is supposed to be single-value) or Collection
|
static <IV extends com.evolveum.midpoint.prism.PrismValue,ID extends com.evolveum.midpoint.prism.ItemDefinition> |
parseValueElements(Collection<?> valueElements,
ID outputDefinition,
String contextDescription,
com.evolveum.midpoint.prism.PrismContext prismContext) |
static <IV extends com.evolveum.midpoint.prism.PrismValue,ID extends com.evolveum.midpoint.prism.ItemDefinition> |
serializeValueElements(com.evolveum.midpoint.prism.Item<IV,ID> item,
String contextDescription) |
public static Object getStaticOutput(ExpressionType expressionType, com.evolveum.midpoint.prism.PrismPropertyDefinition outputDefinition, String contextDescription, ExpressionReturnMultiplicityType preferredMultiplicity, com.evolveum.midpoint.prism.PrismContext prismContext) throws SchemaException
SchemaException
public static <X> com.evolveum.midpoint.prism.PrismProperty<X> getPropertyStatic(ExpressionType expressionType, com.evolveum.midpoint.prism.PrismPropertyDefinition outputDefinition, String contextDescription, com.evolveum.midpoint.prism.PrismContext prismContext) throws SchemaException
SchemaException
public static <X> Collection<X> getPropertyStaticRealValues(ExpressionType expressionType, com.evolveum.midpoint.prism.PrismPropertyDefinition outputDefinition, String contextDescription, com.evolveum.midpoint.prism.PrismContext prismContext) throws SchemaException
SchemaException
public static <IV extends com.evolveum.midpoint.prism.PrismValue,ID extends com.evolveum.midpoint.prism.ItemDefinition> com.evolveum.midpoint.prism.Item<IV,ID> parseValueElements(Collection<?> valueElements, ID outputDefinition, String contextDescription, com.evolveum.midpoint.prism.PrismContext prismContext) throws SchemaException
SchemaException
public static <IV extends com.evolveum.midpoint.prism.PrismValue,ID extends com.evolveum.midpoint.prism.ItemDefinition> List<JAXBElement<com.evolveum.prism.xml.ns._public.types_3.RawType>> serializeValueElements(com.evolveum.midpoint.prism.Item<IV,ID> item, String contextDescription) throws SchemaException
SchemaException
Copyright © 2016 Evolveum. All rights reserved.