Revert "Add SchemaTreeAwareEffectiveStatement"
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / meta / EffectiveStatement.java
index cb50dc9ca60302404b97d3b7caf666c3b57000c5..4d0a7f9f5d3283ca4d3d0619d7e982d6ac11be1d 100644 (file)
@@ -22,10 +22,13 @@ import org.eclipse.jdt.annotation.NonNull;
 /**
  * Effective model statement which should be used to derive application behaviour.
  *
- * @param <A> Argument type ({@link Void} if statement does not have argument.)
- * @param <D> Class representing declared version of this statement.
+ * @param <A>
+ *            Argument type ({@link Void} if statement does not have argument.)
+ * @param <S>
+ *            Class representing declared version of this statement.
  */
-public interface EffectiveStatement<A, D extends DeclaredStatement<A>> extends ModelStatement<A> {
+public interface EffectiveStatement<A, S extends DeclaredStatement<A>> extends ModelStatement<A> {
+
     /**
      * Returns statement, which was explicit declaration of this effective
      * statement.
@@ -34,7 +37,7 @@ public interface EffectiveStatement<A, D extends DeclaredStatement<A>> extends M
      *         statement or null if statement was inferred from context.
      */
     @Nullable
-    D getDeclared();
+    S getDeclared();
 
     /**
      * Returns value associated with supplied identifier.