Class XNodeImpl
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.xnode.XNodeImpl
-
- All Implemented Interfaces:
Visitable
,XNode
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ListXNodeImpl
,MapXNodeImpl
,PrimitiveXNodeImpl
,RootXNodeImpl
,SchemaXNodeImpl
public abstract class XNodeImpl extends Object implements XNode
- Author:
- semancik
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
DUMMY_NAME
protected QName
elementName
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_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()
-
Method Summary
-
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, debugDumpLazily, debugDumpLazily
-
-
-
-
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_TARGET_NAME
public static final QName KEY_REFERENCE_TARGET_NAME
-
KEY_REFERENCE_OBJECT
public static final QName KEY_REFERENCE_OBJECT
-
DUMMY_NAME
public static final QName DUMMY_NAME
-
parent
protected XNodeImpl parent
-
typeQName
protected QName typeQName
-
elementName
protected QName elementName
-
maxOccurs
protected Integer maxOccurs
-
-
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 XNodeImpl clone()
-
cloneTransformKeys
public XNodeImpl cloneTransformKeys(Transformer<QName,QName> keyTransformer)
-
copyCommonAttributesFrom
protected void copyCommonAttributesFrom(XNodeImpl xnode)
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpable
Show the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
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()
-
-