public interface UniformItemPath extends Serializable, Cloneable, ShortDumpable, ItemPath
ItemPath.CompareResult
EMPTY_PATH
Modifier and Type | Method and Description |
---|---|
UniformItemPath |
allExceptLast()
Returns a path containing all segments except the last one.
|
UniformItemPath |
allUpToIncluding(int i)
Returns all segments up to the specified one (including it).
|
UniformItemPath |
allUpToLastName()
Returns a path containing all segments up to (and not including) the last one.
|
UniformItemPath |
append(Object... components)
Returns a newly created path containing all the segments of this path with added components.
|
Object |
asItemPathType() |
UniformItemPath |
clone() |
boolean |
equals(Object obj)
More strict version of ItemPath comparison.
|
ItemPathSegment |
first()
Returns the first segment or null if the path is empty.
|
UniformItemPath |
firstAsPath()
Returns first segment in a form of path.
|
Map<String,String> |
getNamespaceMap() |
ItemPathSegment |
getSegment(int i)
Returns the given path segment.
|
List<ItemPathSegment> |
getSegments()
Returns the path segments.
|
ItemPathSegment |
last()
Returns the last segment (or null if the path is empty).
|
UniformItemPath |
namedSegmentsOnly()
Returns the path containing only the regular named segments.
|
UniformItemPath |
normalize()
Makes the path "normal" by inserting null Id segments where they were omitted.
|
UniformItemPath |
remainder(ItemPath prefix)
Returns the remainder of "this" path after passing all segments from the other path.
|
UniformItemPath |
removeIds()
Returns the path with no Id segments.
|
default UniformItemPath |
rest()
Returns the rest of the path (the tail).
|
UniformItemPath |
rest(int n)
Returns the rest of the path (the tail), starting at position "n".
|
void |
setNamespaceMap(Map<String,String> namespaceMap) |
UniformItemPath |
stripVariableSegment()
Removes the leading variable segment, if present.
|
asSingleName, asSingleNameOrFail, checkNoSpecialSymbols, checkNoSpecialSymbolsExceptParent, compareComplex, containsNameExactly, containsSpecialSymbols, containsSpecialSymbolsExceptParent, create, create, createReverse, emptyIfNull, equals, equivalent, equivalent, firstName, firstNameIndex, firstNameOrFail, firstToId, firstToIdOrNull, firstToIdOrNull, firstToName, firstToNameOrNull, firstToNameOrNull, firstToVariableNameOrNull, isEmpty, isEmpty, isId, isIdentifier, isName, isNullId, isObjectReference, isParent, isSingleName, isSpecial, isSubPath, isSubPathOrEquivalent, isSuperPath, isSuperPathOrEquivalent, isVariable, lastName, lastNameIndex, segmentsEquivalent, shortDump, size, startsWith, startsWithId, startsWithIdentifier, startsWithName, startsWithName, startsWithNullId, startsWithObjectReference, startsWithParent, startsWithVariable, subPath, toId, toIdOrNull, toName, toNameNullSafe, toNameOrNull, toVariableName
shortDump, shortDumpLazily
@NotNull List<ItemPathSegment> getSegments()
ItemPath
getSegments
in interface ItemPath
ItemPathSegment first()
ItemPath
@NotNull default UniformItemPath rest()
ItemPath
@Nullable ItemPathSegment last()
ItemPath
UniformItemPath firstAsPath()
firstAsPath
in interface ItemPath
@NotNull UniformItemPath rest(int n)
ItemPath
@NotNull UniformItemPath allExceptLast()
allExceptLast
in interface ItemPath
@NotNull UniformItemPath allUpToLastName()
allUpToLastName
in interface ItemPath
UniformItemPath allUpToIncluding(int i)
ItemPath
allUpToIncluding
in interface ItemPath
UniformItemPath normalize()
@NotNull UniformItemPath removeIds()
ItemPath
@NotNull UniformItemPath namedSegmentsOnly()
ItemPath
namedSegmentsOnly
in interface ItemPath
@NotNull UniformItemPath stripVariableSegment()
ItemPath
stripVariableSegment
in interface ItemPath
@NotNull UniformItemPath append(Object... components)
ItemPath
UniformItemPath remainder(ItemPath prefix)
ItemPath
boolean equals(Object obj)
UniformItemPath clone()
Object asItemPathType()
ItemPathSegment getSegment(int i)
ItemPath
getSegment
in interface ItemPath
Copyright © 2021 Evolveum. All rights reserved.