Cleanup yang.model.api.meta
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / meta / StatementDefinition.java
index 5d5d2da8e4af2a6cdfa1e20e9fb73930e02e8151..cfb8488848b0e7ced7899a26ece96f2659d0a985 100644 (file)
@@ -13,7 +13,6 @@ import org.opendaylight.yangtools.concepts.Immutable;
 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:
@@ -23,13 +22,9 @@ import org.opendaylight.yangtools.yang.common.QName;
  * </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
@@ -38,7 +33,6 @@ public interface StatementDefinition extends Immutable {
     QName getStatementName();
 
     /**
-     *
      * Returns name of statement argument or null, if statement does not have
      * argument.
      *
@@ -48,7 +42,6 @@ public interface StatementDefinition extends Immutable {
     QName getArgumentName();
 
     /**
-     *
      * Returns class which represents declared version of statement associated
      * with this definition.
      *
@@ -62,16 +55,14 @@ public interface StatementDefinition extends Immutable {
     Class<? extends DeclaredStatement<?>> getDeclaredRepresentationClass();
 
     /**
-     *
-     * Returns class which represents supplied statement.
+     * Returns class which represents derived behaviour from supplied statement.
      *
      * This class should be interface, which defines convenience access to
      * statement properties, namespace items and substatements.
      *
-     * @return class which represents declared version of statement associated
+     * @return class which represents effective version of statement associated
      *         with this definition
      */
     @Nonnull
-    Class<? extends DeclaredStatement<?>> getEffectiveRepresentationClass();
-
+    Class<? extends EffectiveStatement<?,?>> getEffectiveRepresentationClass();
 }