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.WithoutPrefixNested classes/interfaces inherited from interface com.evolveum.midpoint.prism.path.ItemPath
ItemPath.CompareResult -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InfraItemNamestatic final InfraItemNamestatic final InfraItemNamestatic final InfraItemNameFields inherited from interface com.evolveum.midpoint.prism.path.ItemPath
EMPTY_PATH, SELF_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfirst()Returns the first segment or null if the path is empty.static InfraItemNamestatic InfraItemNamefromSerialized(QName qname) getSegment(int i) Returns the given path segment.@NotNull List<?>Returns the path segments.intern()booleanisEmpty()Returns true if the path is empty i.e. has no components.static booleanisSerializedForm(QName qname) booleanstatic InfraItemName@NotNull ItemPathrest()Returns the rest of the path (the tail).@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.toString()Methods inherited from class com.evolveum.midpoint.prism.path.ItemName
allExceptLast, asSingleName, firstAsPath, firstToIdOrNull, from, interned, isSingleName, last, lastName, namedSegmentsOnly, removeIds, shortDump, subPath, withoutNamespaceMethods inherited from class javax.xml.namespace.QName
equals, getLocalPart, getNamespaceURI, getPrefix, hashCode, valueOfMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toStringStandaloneMethods 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:ItemPathReturns true if the path is empty i.e. has no components. -
getSegments
Description 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 interfaceItemPath- Overrides:
getSegmentsin classItemName
-
getSegment
Description copied from interface:ItemPathReturns the given path segment.- Specified by:
getSegmentin interfaceItemPath- Overrides:
getSegmentin classItemName
-
size
public int size()Description copied from interface:ItemPathReturns path size i.e. the number of components. -
first
Description copied from interface:ItemPathReturns the first segment or null if the path is empty. -
rest
Description copied from interface:ItemPathReturns the rest of the path (the tail). -
rest
Description copied from interface:ItemPathReturns the rest of the path (the tail), starting at position "n". -
toString
-
matches
-
asSerializationForm
-