Class TypedItemPath

java.lang.Object
com.evolveum.midpoint.prism.path.TypedItemPath

public class TypedItemPath extends Object
Item Path rooted in specified type
  • Method Details

    • of

      public static TypedItemPath of(@NotNull @NotNull QName root, @NotNull @NotNull ItemPath path)
    • of

      public static TypedItemPath of(@NotNull @NotNull QName typeName)
    • getRootType

      @NotNull public @NotNull QName getRootType()
    • getPath

      @NotNull public @NotNull ItemPath getPath()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      @NotNull public @NotNull TypedItemPath append(@NotNull @NotNull ItemPath descendant)
    • emitTo

      public TypedItemPath emitTo(Consumer<TypedItemPath> consumer, boolean expandReferences)
      Emits this path to the consumer or multiple type paths (without references) if this path consists of derences. Emiting References Path: UserType/assignment/targetRef - only one emmit - UserType/assignment/targetRef Path: UserType/assignment/target/@ - UserType/assignment/targetRef - AssignmentHolderType/ Path: UserType/assignment/targetRef/@/name - UserType/assignment/target - AbstractRole/name Path: UserType/assignment/targetRef/@/archetypeRef/@/name - UserType/assignment/targetRef - AbstractRole/archetypeRef - ArchetypeRef/name
      Parameters:
      consumer - Consumer of paths
      expandReferences - If object references should be emitted separately
      Returns:
      If references are splited, last path, else this path.