Interface StatusEffectiveStatement

All Superinterfaces:
EffectiveStatement<Status,StatusStatement>, ModelStatement<Status>
All Known Implementing Classes:
EmptyStatusEffectiveStatement, RegularStatusEffectiveStatement

public interface StatusEffectiveStatement extends EffectiveStatement<Status,StatusStatement>
Effective representation of a status statement.

Note that unlike almost all other representations, these statements are only ever a reflection of a declared status statement. The truly effective status of a particular statement within a tree depends on its parent statements. As an example, given this YANG module:

   
     module foo {

       grouping foo {
         leaf baz {
           type string;
         }
       }

       container bar {
         status deprecated;
         uses foo;
       }

       uses foo;
     }
   
 
The object model will only reflect the status statement in container bar, but will not be present in bar's baz leaf. Users are advised to use utility classes related to statement inference which consider parent/child relationships of statements.