Class AbstractEffectiveSimpleDataNodeContainer<D extends DeclaredStatement<QName>>

    • Constructor Detail

      • AbstractEffectiveSimpleDataNodeContainer

        protected AbstractEffectiveSimpleDataNodeContainer​(StmtContext<QName,​D,​?> ctx)
    • Method Detail

      • getQName

        public QName getQName()
        Description copied from interface: SchemaNode
        Returns QName of the instance of the type SchemaNode.
        Specified by:
        getQName in interface SchemaNode
        Returns:
        QName with the name of the schema node
      • getPath

        public SchemaPath getPath()
        Description copied from interface: SchemaNode
        Returns the schema path of the instance of the type SchemaNode.
        Specified by:
        getPath in interface SchemaNode
        Returns:
        schema path of the schema node
      • isAugmenting

        @Deprecated
        public boolean isAugmenting()
        Deprecated.
        Description copied from interface: CopyableNode
        Returns true if this node was added by augmentation, otherwise returns false.
        Specified by:
        isAugmenting in interface CopyableNode
        Returns:
        true if this node was added by augmentation, otherwise returns false
      • isAddedByUses

        @Deprecated
        public boolean isAddedByUses()
        Deprecated.
        Description copied from interface: AddedByUsesAware
        Returns true if this node was added by uses statement, otherwise returns false.
        Specified by:
        isAddedByUses in interface AddedByUsesAware
        Returns:
        true if this node was added by uses statement, otherwise returns false
      • isConfiguration

        public boolean isConfiguration()
        Description copied from interface: DataSchemaNode
        Returns true if the data represents configuration data, otherwise returns false.
        Specified by:
        isConfiguration in interface DataSchemaNode
        Returns:
        true if the data represents configuration data, otherwise returns false
      • getWhenCondition

        public final Optional<RevisionAwareXPath> getWhenCondition()
        Description copied from interface: WhenConditionAware
        Returns when statement.

        If when condition is present node defined by the parent data definition statement is only valid when the returned XPath expression conceptually evaluates to "true" for a particular instance, then the node defined by the parent data definition statement is valid; otherwise, it is not.

        Specified by:
        getWhenCondition in interface WhenConditionAware
        Returns:
        XPath condition
      • resetAugmenting

        @Deprecated
        public final void resetAugmenting()
        Deprecated.
        This method is a violation of immutable contract and is a side-effect of bad/incomplete lifecycle, which needs to be fixed. Do not introduce new callers. This deficiency is tracked in YANGTOOLS-724.
        Reset isAugmenting() to false.