Rework AugmentRuntimeType and Choice/Case linkage
[mdsal.git] / binding / mdsal-binding-runtime-api / src / main / java / org / opendaylight / mdsal / binding / runtime / api / CaseRuntimeType.java
index 8818903e59fe8b91b0418739d5b468f1a235bd7b..fb1110f5dd13f1cfa7774355723768c743f1d3cd 100644 (file)
@@ -8,22 +8,13 @@
 package org.opendaylight.mdsal.binding.runtime.api;
 
 import com.google.common.annotations.Beta;
-import org.eclipse.jdt.annotation.Nullable;
 import org.opendaylight.yangtools.yang.model.api.stmt.CaseEffectiveStatement;
 
 /**
  * A {@link RuntimeType} associated with a {@code case} statement.
  */
 @Beta
-public interface CaseRuntimeType extends CompositeRuntimeType, DataRuntimeType {
+public interface CaseRuntimeType extends AugmentableRuntimeType, DataRuntimeType {
     @Override
     CaseEffectiveStatement statement();
-
-    /**
-     * Return the runtime type for the original manifestation of this type's {@code case} statement. Returns
-     * {@code null} if this type is the original.
-     *
-     * @return Original manifestatation, or {@code null} if this is the original manifestation.
-     */
-    @Nullable CaseRuntimeType originalType();
 }