Package com.evolveum.midpoint.prism
Class PrismValueUtil
java.lang.Object
com.evolveum.midpoint.prism.PrismValueUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> PrismProperty<T>
static boolean
differentIds
(PrismValue v1, PrismValue v2) static <T> T
getNearestValueOfType
(@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 Objectable
getRootObject
(@NotNull PrismValue value) Deprecated.
-
Constructor Details
-
PrismValueUtil
public 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
). -
getNearestValueOfType
public 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. -
createRaw
public static <T> PrismProperty<T> createRaw(@NotNull @NotNull XNode node, @NotNull @NotNull QName itemName) throws SchemaException - Throws:
SchemaException
-
differentIds
-