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