Class MapXNodeImpl
java.lang.Object
com.evolveum.midpoint.prism.AbstractFreezable
com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
com.evolveum.midpoint.prism.impl.xnode.MapXNodeImpl
- All Implemented Interfaces:
Copyable<XNode>
,Freezable
,Visitable<XNode>
,MapXNode
,MetadataAware
,XNode
,DebugDumpable
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
elementName, KEY_CONTAINER_ID, KEY_OID, KEY_REFERENCE_DESCRIPTION, KEY_REFERENCE_FILTER, KEY_REFERENCE_OBJECT, KEY_REFERENCE_OID, KEY_REFERENCE_REFERENTIAL_INTEGRITY, 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
@NotNull MapXNodeImpl
clone()
boolean
containsKey
(QName key) copy()
debugDump
(int indent) entrySet()
boolean
getDesc()
getEntryAsRoot
(@NotNull QName key) <T> T
getParsedPrimitiveValue
(QName key, QName typeName) <T> PrimitiveXNodeImpl<T>
getPrimitive
(QName key) getSingleEntryThatDoesNotMatch
(QName... excludedKeys) getSingleSubEntry
(String errorContext) getSingleSubEntryAsRoot
(String errorContext) int
hashCode()
boolean
isEmpty()
keySet()
void
merge
(@NotNull MapXNodeImpl other) void
void
void
void
void
setMetadataNodes
(@NotNull List<MapXNode> metadataNodes) int
size()
toMap()
toString()
Methods inherited from class com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
cloneTransformKeys, copyCommonAttributesFrom, copyCommonTo, dumpSuffix, getComment, getElementName, getLineNumber, getMaxOccurs, getOriginDescription, getOriginFile, getParent, getParserData, getTypeQName, isExplicitTypeDeclaration, isHeterogeneousList, isSingleEntryMap, namespaceContext, setComment, setElementName, setExplicitTypeDeclaration, setLineNumber, setMaxOccurs, setOriginDescription, setOriginFile, setParent, setParserData, setTypeQName, toRootXNode
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable
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 com.evolveum.midpoint.prism.Freezable
checkImmutable, checkMutable, freeze, isImmutable
Methods inherited from interface com.evolveum.midpoint.prism.xnode.MetadataAware
addMetadataNode
Methods inherited from interface com.evolveum.midpoint.prism.xnode.XNode
frozen, getMaxOccurs, getTypeQName, hasMetadata, isExplicitTypeDeclaration, namespaceContext, toRootXNode
-
Constructor Details
-
MapXNodeImpl
public MapXNodeImpl() -
MapXNodeImpl
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
keySet
-
entrySet
-
containsKey
- Specified by:
containsKey
in interfaceMapXNode
-
get
-
get
-
put
-
getSingleSubEntry
- Specified by:
getSingleSubEntry
in interfaceMapXNode
- Throws:
SchemaException
-
getSingleSubEntryAsRoot
- Specified by:
getSingleSubEntryAsRoot
in interfaceMapXNode
- Throws:
SchemaException
-
getSingleEntryThatDoesNotMatch
public Map.Entry<QName,XNodeImpl> getSingleEntryThatDoesNotMatch(QName... excludedKeys) throws SchemaException - Throws:
SchemaException
-
getPrimitive
- Throws:
SchemaException
-
getParsedPrimitiveValue
- Throws:
SchemaException
-
merge
-
merge
-
accept
-
equals
-
hashCode
public int hashCode() -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
getDesc
-
toString
-
replace
-
getEntryAsRoot
- Specified by:
getEntryAsRoot
in interfaceMapXNode
-
clone
-
toMap
-
performFreeze
public void performFreeze()- Overrides:
performFreeze
in classAbstractFreezable
-
getMetadataNodes
- Specified by:
getMetadataNodes
in interfaceMetadataAware
-
setMetadataNodes
- Specified by:
setMetadataNodes
in interfaceMetadataAware
-
copy
-