Package com.evolveum.midpoint.prism.path
Class NameItemPathSegment
- java.lang.Object
-
- com.evolveum.midpoint.prism.path.ItemPathSegment
-
- com.evolveum.midpoint.prism.path.NameItemPathSegment
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class NameItemPathSegment extends ItemPathSegment
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NameItemPathSegment(@NotNull QName name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NameItemPathSegment
clone()
boolean
equals(Object obj)
More strict version of comparison: it requires exact matching of QNames (e.g.boolean
equals(Object obj, boolean allowUnqualified, boolean allowDifferentPrefixes)
boolean
equivalent(Object obj)
Less strict version of comparison: it allows unqualified names to match fully qualified ones (e.g.@NotNull ItemName
getName()
int
hashCode()
String
toString()
-
Methods inherited from class com.evolveum.midpoint.prism.path.ItemPathSegment
isWildcard, setWildcard
-
-
-
-
Constructor Detail
-
NameItemPathSegment
public NameItemPathSegment(@NotNull @NotNull QName name)
-
-
Method Detail
-
getName
@NotNull public @NotNull ItemName getName()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classItemPathSegment
-
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 classItemPathSegment
- 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 classItemPathSegment
- Parameters:
obj
-- Returns:
-
equals
public boolean equals(Object obj, boolean allowUnqualified, boolean allowDifferentPrefixes)
-
clone
public NameItemPathSegment clone()
- Specified by:
clone
in classItemPathSegment
-
-