Class MapXNodeImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
-
- com.evolveum.midpoint.prism.impl.xnode.MapXNodeImpl
-
- All Implemented Interfaces:
Visitable
,MapXNode
,XNode
,DebugDumpable
,Serializable
,Cloneable
,Map<QName,XNodeImpl>
public class MapXNodeImpl extends XNodeImpl implements MapXNode, Map<QName,XNodeImpl>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
DUMMY_NAME, elementName, KEY_CONTAINER_ID, KEY_OID, KEY_REFERENCE_DESCRIPTION, KEY_REFERENCE_FILTER, KEY_REFERENCE_OBJECT, KEY_REFERENCE_OID, KEY_REFERENCE_RELATION, KEY_REFERENCE_RESOLUTION_TIME, KEY_REFERENCE_TARGET_NAME, KEY_REFERENCE_TYPE, KEY_VERSION, maxOccurs, parent, typeQName
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description MapXNodeImpl()
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
cloneTransformKeys, copyCommonAttributesFrom, debugDump, dumpSuffix, getComment, getElementName, getLineNumber, getMaxOccurs, getOriginDescription, getOriginFile, getParent, getTypeQName, isExplicitTypeDeclaration, isHeterogeneousList, isSingleEntryMap, setComment, setElementName, setExplicitTypeDeclaration, setLineNumber, setMaxOccurs, setOriginDescription, setOriginFile, setParent, setTypeQName, toRootXNode
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replaceAll
-
Methods inherited from interface com.evolveum.midpoint.prism.xnode.XNode
getMaxOccurs, getTypeQName, isExplicitTypeDeclaration, toRootXNode
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<QName,XNodeImpl>
- Specified by:
containsKey
in interfaceMapXNode
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<QName,XNodeImpl>
- Specified by:
containsValue
in interfaceMapXNode
-
putReturningEntry
public com.evolveum.midpoint.prism.impl.xnode.MapXNodeImpl.Entry putReturningEntry(QName key, XNodeImpl value, boolean doNotRemovePrevious)
-
values
@NotNull public Collection<XNodeImpl> values()
-
getSingleSubEntry
public Map.Entry<QName,XNodeImpl> getSingleSubEntry(String errorContext) throws SchemaException
- Specified by:
getSingleSubEntry
in interfaceMapXNode
- Throws:
SchemaException
-
getSingleSubEntryAsRoot
public RootXNode getSingleSubEntryAsRoot(String errorContext) throws SchemaException
- Specified by:
getSingleSubEntryAsRoot
in interfaceMapXNode
- Throws:
SchemaException
-
getSingleEntryThatDoesNotMatch
public com.evolveum.midpoint.prism.impl.xnode.MapXNodeImpl.Entry getSingleEntryThatDoesNotMatch(QName... excludedKeys) throws SchemaException
- Throws:
SchemaException
-
getParsedPrimitiveValue
public <T> T getParsedPrimitiveValue(QName key, QName typeName) throws SchemaException
- Throws:
SchemaException
-
merge
public void merge(MapXNodeImpl other)
-
accept
public void accept(Visitor visitor)
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
dumpKeyNames
public String dumpKeyNames()
-
getEntryAsRoot
public RootXNodeImpl getEntryAsRoot(@NotNull QName key)
- Specified by:
getEntryAsRoot
in interfaceMapXNode
-
getSingleEntryMapAsRoot
@NotNull public RootXNodeImpl getSingleEntryMapAsRoot()
-
clone
@NotNull public MapXNodeImpl clone()
-
-