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 NameItemPathSegmentclone()booleanequals(Object obj)More strict version of comparison: it requires exact matching of QNames (e.g.booleanequals(Object obj, boolean allowUnqualified, boolean allowDifferentPrefixes)booleanequivalent(Object obj)Less strict version of comparison: it allows unqualified names to match fully qualified ones (e.g.@NotNull ItemNamegetName()inthashCode()StringtoString()- 
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:
 hashCodein 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:
 equalsin 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:
 equivalentin classItemPathSegment- Parameters:
 obj-- Returns:
 
 
- 
equals
public boolean equals(Object obj, boolean allowUnqualified, boolean allowDifferentPrefixes)
 
- 
clone
public NameItemPathSegment clone()
- Specified by:
 clonein classItemPathSegment
 
 - 
 
 -