public interface UniformItemPath extends Serializable, Cloneable, ShortDumpable, ItemPath
ItemPath.CompareResultEMPTY_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, toVariableNameshortDump, shortDumpLazily@NotNull List<ItemPathSegment> getSegments()
ItemPathgetSegments in interface ItemPathItemPathSegment first()
ItemPath@NotNull default UniformItemPath rest()
ItemPath@Nullable ItemPathSegment last()
ItemPathUniformItemPath firstAsPath()
firstAsPath in interface ItemPath@NotNull UniformItemPath rest(int n)
ItemPath@NotNull UniformItemPath allExceptLast()
allExceptLast in interface ItemPath@NotNull UniformItemPath allUpToLastName()
allUpToLastName in interface ItemPathUniformItemPath allUpToIncluding(int i)
ItemPathallUpToIncluding in interface ItemPathUniformItemPath normalize()
@NotNull UniformItemPath removeIds()
ItemPath@NotNull UniformItemPath namedSegmentsOnly()
ItemPathnamedSegmentsOnly in interface ItemPath@NotNull UniformItemPath stripVariableSegment()
ItemPathstripVariableSegment in interface ItemPath@NotNull UniformItemPath append(Object... components)
ItemPathUniformItemPath remainder(ItemPath prefix)
ItemPathboolean equals(Object obj)
UniformItemPath clone()
Object asItemPathType()
ItemPathSegment getSegment(int i)
ItemPathgetSegment in interface ItemPathCopyright © 2019 Evolveum. All rights reserved.