Class VariableItemPathSegment

java.lang.Object
com.evolveum.midpoint.prism.path.ItemPathSegment
com.evolveum.midpoint.prism.path.VariableItemPathSegment
All Implemented Interfaces:
Serializable, Cloneable

public class VariableItemPathSegment extends ItemPathSegment
Author:
semancik
See Also:
  • Constructor Details

    • VariableItemPathSegment

      public VariableItemPathSegment(@NotNull @NotNull QName name)
  • Method Details

    • getName

      @NotNull public @NotNull ItemName getName()
    • toString

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

      public int hashCode()
      Overrides:
      hashCode in class ItemPathSegment
    • equals

      public boolean equals(Object obj)
      More strict version of comparison: it requires exact matching of QNames (e.g. x:xyz and xyz are different in this respect).
      Overrides:
      equals in class ItemPathSegment
      Parameters:
      obj -
      Returns:
    • equivalent

      public boolean equivalent(Object obj)
      Less strict version of comparison: it allows unqualified names to match fully qualified ones (e.g. x:xyz and xyz are the same).
      Specified by:
      equivalent in class ItemPathSegment
      Parameters:
      obj -
      Returns:
    • equals

      public boolean equals(Object obj, boolean allowUnqualified, boolean allowDifferentPrefixes)
    • clone

      public VariableItemPathSegment clone()
      Specified by:
      clone in class ItemPathSegment