Class XNodeImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.AbstractFreezable
-
- com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
-
- All Implemented Interfaces:
Copyable<XNode>
,Freezable
,Visitable<XNode>
,XNode
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
IncompleteMarkerXNodeImpl
,ListXNodeImpl
,MapXNodeImpl
,PrimitiveXNodeImpl
,RootXNodeImpl
,SchemaXNodeImpl
public abstract class XNodeImpl extends AbstractFreezable implements XNode
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected QName
elementName
protected boolean
immutable
static QName
KEY_CONTAINER_ID
static QName
KEY_OID
static QName
KEY_REFERENCE_DESCRIPTION
static QName
KEY_REFERENCE_FILTER
static QName
KEY_REFERENCE_OBJECT
static QName
KEY_REFERENCE_OID
static QName
KEY_REFERENCE_REFERENTIAL_INTEGRITY
static QName
KEY_REFERENCE_RELATION
static QName
KEY_REFERENCE_RESOLUTION_TIME
static QName
KEY_REFERENCE_TARGET_NAME
static QName
KEY_REFERENCE_TYPE
static QName
KEY_VERSION
protected Integer
maxOccurs
protected XNodeImpl
parent
protected QName
typeQName
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description XNodeImpl()
XNodeImpl(PrismNamespaceContext local)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.prism.AbstractFreezable
freeze, freeze, freezeAll, freezeNullableList, isImmutable, isMutable, performFreeze
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, 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.XNode
copy, frozen, hasMetadata
-
-
-
-
Field Detail
-
KEY_OID
public static final QName KEY_OID
-
KEY_VERSION
public static final QName KEY_VERSION
-
KEY_CONTAINER_ID
public static final QName KEY_CONTAINER_ID
-
KEY_REFERENCE_OID
public static final QName KEY_REFERENCE_OID
-
KEY_REFERENCE_TYPE
public static final QName KEY_REFERENCE_TYPE
-
KEY_REFERENCE_RELATION
public static final QName KEY_REFERENCE_RELATION
-
KEY_REFERENCE_DESCRIPTION
public static final QName KEY_REFERENCE_DESCRIPTION
-
KEY_REFERENCE_FILTER
public static final QName KEY_REFERENCE_FILTER
-
KEY_REFERENCE_RESOLUTION_TIME
public static final QName KEY_REFERENCE_RESOLUTION_TIME
-
KEY_REFERENCE_REFERENTIAL_INTEGRITY
public static final QName KEY_REFERENCE_REFERENTIAL_INTEGRITY
-
KEY_REFERENCE_TARGET_NAME
public static final QName KEY_REFERENCE_TARGET_NAME
-
KEY_REFERENCE_OBJECT
public static final QName KEY_REFERENCE_OBJECT
-
parent
protected XNodeImpl parent
-
immutable
protected boolean immutable
-
typeQName
protected QName typeQName
-
elementName
protected QName elementName
-
maxOccurs
protected Integer maxOccurs
-
-
Constructor Detail
-
XNodeImpl
public XNodeImpl()
-
XNodeImpl
public XNodeImpl(PrismNamespaceContext local)
-
-
Method Detail
-
getParent
public XNodeImpl getParent()
-
setParent
public void setParent(XNodeImpl parent)
-
getOriginFile
public File getOriginFile()
-
setOriginFile
public void setOriginFile(File originFile)
-
getOriginDescription
public String getOriginDescription()
-
setOriginDescription
public void setOriginDescription(String originDescription)
-
getLineNumber
public int getLineNumber()
-
setLineNumber
public void setLineNumber(int lineNumber)
-
getComment
public String getComment()
-
setComment
public void setComment(String comment)
-
getTypeQName
public QName getTypeQName()
- Specified by:
getTypeQName
in interfaceXNode
-
setTypeQName
public void setTypeQName(QName typeQName)
-
getElementName
public QName getElementName()
-
setElementName
public void setElementName(QName elementName)
-
getMaxOccurs
public Integer getMaxOccurs()
- Specified by:
getMaxOccurs
in interfaceXNode
-
setMaxOccurs
public void setMaxOccurs(Integer maxOccurs)
-
isExplicitTypeDeclaration
public boolean isExplicitTypeDeclaration()
- Specified by:
isExplicitTypeDeclaration
in interfaceXNode
-
setExplicitTypeDeclaration
public void setExplicitTypeDeclaration(boolean explicitTypeDeclaration)
-
clone
@NotNull public @NotNull XNodeImpl clone()
-
cloneTransformKeys
public XNodeImpl cloneTransformKeys(Transformer<QName,QName> keyTransformer)
-
copyCommonAttributesFrom
protected void copyCommonAttributesFrom(XNodeImpl xnode)
-
getDesc
public abstract String getDesc()
-
dumpSuffix
protected String dumpSuffix()
-
toRootXNode
public RootXNodeImpl toRootXNode()
- Specified by:
toRootXNode
in interfaceXNode
-
isHeterogeneousList
public boolean isHeterogeneousList()
-
isSingleEntryMap
public final boolean isSingleEntryMap()
-
getParserData
public Object getParserData()
-
setParserData
public void setParserData(Object parserData)
-
namespaceContext
public PrismNamespaceContext namespaceContext()
- Specified by:
namespaceContext
in interfaceXNode
-
copyCommonTo
protected <T extends XNodeImpl> T copyCommonTo(T target)
-
-