Class EffectiveAugmentationSchema

java.lang.Object
org.opendaylight.yangtools.yang.model.util.EffectiveAugmentationSchema
All Implemented Interfaces:
ActionNodeContainer, AugmentationSchemaNode, DataNodeContainer, DocumentedNode, DocumentedNode.WithStatus, EffectiveStatementEquivalent<AugmentEffectiveStatement>, NotificationNodeContainer, WhenConditionAware

public final class EffectiveAugmentationSchema extends Object implements AugmentationSchemaNode
Proxy for AugmentationSchema. Child node schemas are replaced with actual schemas from parent. This is needed to correctly interpret constructs like this:
   
     container foo;

     augment /foo {
       container bar;
     }

     augment /foo/bar {
       container baz;
     }
   
 
The AugmentationSchemaNode returned for augment /foo contains bare container bar, e.g. it does not show augment /foo/bar as an available augmentation -- this is only visible in foo's schema nodes.

Note this class only handles DataSchemaNodes, not all schema tree statements, as it strictly should.