Class AbstractEffectiveDataSchemaNode<D extends DeclaredStatement<QName>>

    • Constructor Detail

      • AbstractEffectiveDataSchemaNode

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

      • isAugmenting

        @Deprecated
        public final 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 final 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 final 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.