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:
  • Field Details

    • 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 Details

  • Method Details

    • 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 interface XNode
    • setTypeQName

      public void setTypeQName(QName typeQName)
    • getElementName

      public QName getElementName()
    • setElementName

      public void setElementName(QName elementName)
    • getMaxOccurs

      public Integer getMaxOccurs()
      Specified by:
      getMaxOccurs in interface XNode
    • setMaxOccurs

      public void setMaxOccurs(Integer maxOccurs)
    • isEmpty

      public abstract boolean isEmpty()
      Specified by:
      isEmpty in interface XNode
    • isExplicitTypeDeclaration

      public boolean isExplicitTypeDeclaration()
      Specified by:
      isExplicitTypeDeclaration in interface XNode
    • setExplicitTypeDeclaration

      public void setExplicitTypeDeclaration(boolean explicitTypeDeclaration)
    • clone

      @NotNull public @NotNull XNodeImpl clone()
      Specified by:
      clone in interface XNode
      Overrides:
      clone in class Object
    • 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 interface XNode
    • 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 interface XNode
    • copyCommonTo

      protected <T extends XNodeImpl> T copyCommonTo(T target)