Package com.evolveum.midpoint.prism.path
Class InfraItemName
java.lang.Object
javax.xml.namespace.QName
com.evolveum.midpoint.prism.path.ItemName
com.evolveum.midpoint.prism.path.InfraItemName
- All Implemented Interfaces:
ItemPath
,ShortDumpable
,Serializable
Item Name of Infra Model Items.
Infra Model Items are not part of data model, but rather meta-model or infra model which is behind data model.
They have namespace and local name, but they may be serialized differently according to language (using native features
of data serialization format and/or other models already available natively for particular language), or they may be computed
during runtime.
FIXME: Maybe this should not extend ItemName
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.prism.path.ItemName
ItemName.WithoutPrefix
Nested classes/interfaces inherited from interface com.evolveum.midpoint.prism.path.ItemPath
ItemPath.CompareResult
-
Field Summary
Modifier and TypeFieldDescriptionstatic final InfraItemName
static final InfraItemName
static final InfraItemName
static final InfraItemName
Fields inherited from interface com.evolveum.midpoint.prism.path.ItemPath
EMPTY_PATH, SELF_PATH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfirst()
Returns the first segment or null if the path is empty.static InfraItemName
static InfraItemName
fromSerialized
(QName qname) getSegment
(int i) Returns the given path segment.@NotNull List<?>
Returns the path segments.intern()
boolean
isEmpty()
Returns true if the path is empty i.e.static boolean
isSerializedForm
(QName qname) boolean
static InfraItemName
@NotNull ItemPath
rest()
Returns the rest of the path (the tail).@NotNull ItemPath
rest
(int n) Returns the rest of the path (the tail), starting at position "n".int
size()
Returns path size i.e.toString()
Methods inherited from class com.evolveum.midpoint.prism.path.ItemName
allExceptLast, asSingleName, firstAsPath, firstToIdOrNull, from, interned, isSingleName, last, lastName, namedSegmentsOnly, removeIds, shortDump, subPath, withoutNamespace
Methods inherited from class javax.xml.namespace.QName
equals, getLocalPart, getNamespaceURI, getPrefix, hashCode, valueOf
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.path.ItemPath
allUpToIncluding, allUpToLastName, append, asSingleNameOrFail, compareComplex, containsNameExactly, containsSpecialSymbols, containsSpecialSymbolsExceptParent, equals, equivalent, firstName, firstNameIndex, firstNameOrFail, firstToId, firstToName, firstToNameOrNull, firstToQName, firstToVariableNameOrNull, isMetadataRelated, isSubPath, isSubPathOrEquivalent, isSuperPath, isSuperPathOrEquivalent, lastNameIndex, remainder, startsWith, startsWithId, startsWithIdentifier, startsWithName, startsWithName, startsWithNullId, startsWithObjectReference, startsWithParent, startsWithVariable, stripVariableSegment, toBean, toStringStandalone
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Field Details
-
ID
-
TYPE
-
PATH
-
METADATA
-
-
Constructor Details
-
InfraItemName
-
-
Method Details
-
of
-
fromQName
-
isSerializedForm
-
fromSerialized
-
intern
-
isEmpty
public boolean isEmpty()Description copied from interface:ItemPath
Returns true if the path is empty i.e. has no components. -
getSegments
Description copied from interface:ItemPath
Returns 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:
getSegments
in interfaceItemPath
- Overrides:
getSegments
in classItemName
-
getSegment
Description copied from interface:ItemPath
Returns the given path segment.- Specified by:
getSegment
in interfaceItemPath
- Overrides:
getSegment
in classItemName
-
size
public int size()Description copied from interface:ItemPath
Returns path size i.e. the number of components. -
first
Description copied from interface:ItemPath
Returns the first segment or null if the path is empty. -
rest
Description copied from interface:ItemPath
Returns the rest of the path (the tail). -
rest
Description copied from interface:ItemPath
Returns the rest of the path (the tail), starting at position "n". -
toString
-
matches
-
asSerializationForm
-