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 QNameelementNamestatic QNameKEY_CONTAINER_IDstatic QNameKEY_OIDstatic QNameKEY_REFERENCE_DESCRIPTIONstatic QNameKEY_REFERENCE_FILTERstatic QNameKEY_REFERENCE_OBJECTstatic QNameKEY_REFERENCE_OIDstatic QNameKEY_REFERENCE_REFERENTIAL_INTEGRITYstatic QNameKEY_REFERENCE_RELATIONstatic QNameKEY_REFERENCE_RESOLUTION_TIMEstatic QNameKEY_REFERENCE_TARGET_NAMEstatic QNameKEY_REFERENCE_TYPEstatic QNameKEY_VERSIONprotected IntegermaxOccursprotected XNodeImplparentprotected QNametypeQName-
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
-
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:
getTypeQNamein interfaceXNode
-
setTypeQName
public void setTypeQName(QName typeQName)
-
getElementName
public QName getElementName()
-
setElementName
public void setElementName(QName elementName)
-
getMaxOccurs
public Integer getMaxOccurs()
- Specified by:
getMaxOccursin interfaceXNode
-
setMaxOccurs
public void setMaxOccurs(Integer maxOccurs)
-
isExplicitTypeDeclaration
public boolean isExplicitTypeDeclaration()
- Specified by:
isExplicitTypeDeclarationin 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:
toRootXNodein 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:
namespaceContextin interfaceXNode
-
copyCommonTo
protected <T extends XNodeImpl> T copyCommonTo(T target)
-
-