Class AttributePath
java.lang.Object
com.evolveum.midpoint.schema.processor.AttributePath
- All Implemented Interfaces:
- ItemPath,- ShortDumpable,- Serializable
Path pointing to a specific `. 
ShadowAttribute.
 It is always in the form of `attributes/- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.path.ItemPathItemPath.CompareResult
- 
Field SummaryFields inherited from interface com.evolveum.midpoint.prism.path.ItemPathEMPTY_PATH, SELF_PATH
- 
Method SummaryModifier and TypeMethodDescription@NotNull ItemPathReturns all segments except the last one.@Nullable Objectfirst()Returns the first segment or null if the path is empty.Returns the first segment as an ItemPath.@NotNull ItemName@Nullable ObjectgetSegment(int i) Returns the given path segment.@NotNull List<?>Returns the path segments.booleanisEmpty()Returns true if the path is empty i.e. has no components.@NotNull Objectlast()Returns the last segment (or null if the path is empty).lastName()Returns the last name segment value; or null if there's no name segment.@NotNull ItemPathReturns the path containing only the regular named segments.static @NotNull AttributePathstatic @NotNull Optional<AttributePath>optionalOf(ItemPath path) @NotNull ItemPathReturns the path with no Id segments.@NotNull ItemPathrest(int n) Returns the rest of the path (the tail), starting at position "n".intsize()Returns path size i.e. the number of components.subPath(int from, int to) Returns a sub-path from (including) to (excluding) given indices.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.prism.path.ItemPathallUpToIncluding, allUpToLastName, append, asSingleName, asSingleNameOrFail, compareComplex, containsNameExactly, containsSpecialSymbols, containsSpecialSymbolsExceptParent, equals, equivalent, firstName, firstNameIndex, firstNameOrFail, firstToId, firstToIdOrNull, firstToName, firstToNameOrNull, firstToQName, firstToVariableNameOrNull, isMetadataRelated, isSingleName, isSubPath, isSubPathOrEquivalent, isSuperPath, isSuperPathOrEquivalent, lastNameIndex, remainder, rest, shortDump, startsWith, startsWithId, startsWithIdentifier, startsWithName, startsWithName, startsWithNullId, startsWithObjectReference, startsWithParent, startsWithVariable, stripVariableSegment, toBean, toStringStandaloneMethods inherited from interface com.evolveum.midpoint.util.ShortDumpableshortDump, shortDumpLazily
- 
Method Details- 
of
- 
optionalOf
- 
isEmptypublic boolean isEmpty()Description copied from interface:ItemPathReturns true if the path is empty i.e. has no components.
- 
sizepublic int size()Description copied from interface:ItemPathReturns path size i.e. the number of components.
- 
getSegmentsDescription copied from interface:ItemPathReturns the path segments. Avoid using this method and access segments directly. Instead try to find suitable method in ItemPath interface. NEVER change path content using this method. TODO consider returning unmodifiable collection here (beware of performance implications)- Specified by:
- getSegmentsin interface- ItemPath
 
- 
getSegmentDescription copied from interface:ItemPathReturns the given path segment.- Specified by:
- getSegmentin interface- ItemPath
 
- 
firstDescription copied from interface:ItemPathReturns the first segment or null if the path is empty.
- 
restDescription copied from interface:ItemPathReturns the rest of the path (the tail), starting at position "n".
- 
firstAsPathDescription copied from interface:ItemPathReturns the first segment as an ItemPath. TODO consider the necessity of such method- Specified by:
- firstAsPathin interface- ItemPath
 
- 
lastDescription copied from interface:ItemPathReturns the last segment (or null if the path is empty).
- 
allExceptLastDescription copied from interface:ItemPathReturns all segments except the last one.- Specified by:
- allExceptLastin interface- ItemPath
 
- 
subPathDescription copied from interface:ItemPathReturns a sub-path from (including) to (excluding) given indices.
- 
lastNameDescription copied from interface:ItemPathReturns the last name segment value; or null if there's no name segment.
- 
namedSegmentsOnlyDescription copied from interface:ItemPathReturns the path containing only the regular named segments.- Specified by:
- namedSegmentsOnlyin interface- ItemPath
 
- 
removeIdsDescription copied from interface:ItemPathReturns the path with no Id segments.
- 
getAttributeName
 
-