import org.opendaylight.yangtools.yang.common.QName;
/**
- *
* Definition / model of YANG {@link DeclaredStatement} and {@link EffectiveStatement}.
*
* Statement concept is defined in RFC6020 section 6.3:
* </blockquote>
*
* Source: <a href="https://tools.ietf.org/html/rfc6020#section-6.3"> </a>
- *
- *
*/
public interface StatementDefinition extends Immutable {
-
/**
- *
* Returns name of the statement
*
* @return Name of the statement
QName getStatementName();
/**
- *
* Returns name of statement argument or null, if statement does not have
* argument.
*
QName getArgumentName();
/**
- *
* Returns class which represents declared version of statement associated
* with this definition.
*
Class<? extends DeclaredStatement<?>> getDeclaredRepresentationClass();
/**
- *
* Returns class which represents derived behaviour from supplied statement.
*
* This class should be interface, which defines convenience access to
*/
@Nonnull
Class<? extends EffectiveStatement<?,?>> getEffectiveRepresentationClass();
-
}