Class AbstractDeclaredEffectiveStatement<A,D extends DeclaredStatement<A>>

java.lang.Object
org.opendaylight.yangtools.yang.model.api.meta.AbstractEffectiveStatement<A,D>
org.opendaylight.yangtools.yang.model.spi.meta.AbstractDeclaredEffectiveStatement<A,D>
Type Parameters:
A - Argument type (Empty if statement does not have argument.)
D - Class representing declared version of this statement.
All Implemented Interfaces:
EffectiveStatement<A,D>, ModelStatement<A>
Direct Known Subclasses:
AbstractDeclaredEffectiveStatement.Default, AbstractDeclaredEffectiveStatement.WithSchemaTree, AbstractEffectiveUnknownSchmemaNode

@Beta public abstract non-sealed class AbstractDeclaredEffectiveStatement<A,D extends DeclaredStatement<A>> extends AbstractEffectiveStatement<A,D>
Base stateless superclass for statements which (logically) always have an associated DeclaredStatement. This is notably not true for all case statements, some of which may actually be implied.

Note implementations are not strictly required to make the declared statement available, they are free to throw UnsupportedOperationException from getDeclared(), rendering any services relying on declared statement to be not available.