Package com.evolveum.midpoint.prism
Class PrismValueUtil
java.lang.Object
com.evolveum.midpoint.prism.PrismValueUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> PrismProperty<T>createRaw(@NotNull XNode node, @NotNull QName itemName, PrismContext prismContext) static booleandifferentIds(PrismValue v1, PrismValue v2) static <T> TgetNearestValueOfType(@Nullable PrismValue value, @NotNull Class<T> type) Returns the nearest (going upwards) real value of given `type`.static @Nullable PrismContainerValue<?>static @Nullable PrismObject<?>getParentObject(@Nullable PrismValue value) Returns parent object, potentially traversing multiple parent links to get there.static @Nullable ObjectablegetRootObject(@NotNull PrismValue value) Deprecated.
- 
Constructor Details- 
PrismValueUtilpublic PrismValueUtil()
 
- 
- 
Method Details- 
getParentContainerValue
- 
getParentObject@Nullable public static @Nullable PrismObject<?> getParentObject(@Nullable @Nullable PrismValue value) Returns parent object, potentially traversing multiple parent links to get there.
- 
getRootObject@Deprecated @Nullable public static @Nullable Objectable getRootObject(@NotNull @NotNull PrismValue value) Deprecated.Returns the top-most object (Objectable).
- 
getNearestValueOfTypepublic static <T> T getNearestValueOfType(@Nullable @Nullable PrismValue value, @NotNull @NotNull Class<T> type) Returns the nearest (going upwards) real value of given `type`. Includes the provided `value` itself.
- 
createRawpublic static <T> PrismProperty<T> createRaw(@NotNull @NotNull XNode node, @NotNull @NotNull QName itemName, PrismContext prismContext) throws SchemaException - Throws:
- SchemaException
 
- 
differentIds
 
-