Class PrismValueUtil

java.lang.Object
com.evolveum.midpoint.prism.PrismValueUtil

public class PrismValueUtil extends Object
  • Constructor Details

    • PrismValueUtil

      public PrismValueUtil()
  • Method Details

    • getParentContainerValue

      @Nullable public static @Nullable PrismContainerValue<?> getParentContainerValue(PrismValue value)
    • 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

      public static boolean differentIds(PrismValue v1, PrismValue v2)